parameters: (self, lineno, override=False)
return_statement: return self
docstring: Set the line numbers of the node and children.
docstring_summary: Set the line numbers of the node and children.
docstring_tokens: Set the line numbers of the node and children .
function: def set_lineno(self, lineno, override=False):
          """Set the line numbers of the node and children."""
          todo = deque([self])
          while todo:
              node = todo.popleft()
              if 'lineno' in node.attributes:
                  if node.lineno is None or override:
                      node.lineno = lineno
              todo.extend(node.iter_child_nodes())
          return self
function_tokens: def set_lineno ( self , lineno , override = False ) : todo = deque ( [ self ] ) while todo : node = todo . popleft ( ) if 'lineno' in node . attributes : if node . lineno is None or override : node . lineno = lineno todo . extend ( node . iter_child_nodes ( ) ) return self