◐ Shell
clean mode source ↗

bpo-33211: Change line number of decorated nodes back to def by emmatyping · Pull Request #6460 · python/cpython

('Module',
 [('ClassDef',
   (1, 0),
   'A',
   [],
   [],
   [('FunctionDef',
     (3, 4),
     'm',
     ('arguments', [('arg', (3, 10), 'self', None)], None, [], [], None, []),
     [('Pass', (3, 17))],
     [('Name', (2, 5), 'deco', ('Load',))],
     None,
     None)],
   [],
   None)],
 None)

which seems correct. Perhaps I am misunderstanding?