Home | History | Annotate | Download | only in python2.7

Lines Matching refs:lineno

115     Copy source location (`lineno` and `col_offset` attributes) from
118 for attr in 'lineno', 'col_offset':
127 When you compile a node tree with compile(), the compiler expects lineno and
133 def _fix(node, lineno, col_offset):
134 if 'lineno' in node._attributes:
135 if not hasattr(node, 'lineno'):
136 node.lineno = lineno
138 lineno = node.lineno
145 _fix(child, lineno, col_offset)
156 if 'lineno' in child._attributes:
157 child.lineno = getattr(child, 'lineno', 0) + n