Skip to content
Myr

Merge pull request #918 from TGogniashvili/tg.fix-lineno

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by GitHub · parents 11888dc, f982661 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • parser: Fix typo `self.lineno` -> `token.lineno`

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:jinja2/parser.py+1 added-1 removed
715 unmodified lines
716 arg = args[0]717 else:718 arg = nodes.Tuple(args, 'load', lineno=token.lineno)719 return nodes.Getitem(node, arg, 'load', lineno=token.lineno)720 self.fail('expected subscript expression', self.lineno)720 self.fail('expected subscript expression', token.lineno)721722 def parse_subscribed(self):723 lineno = self.stream.current.lineno724
181 unmodified lines