[issue38307] Provide Class' end line in pyclbr module

2021-01-27 Thread Aviral Srivastava
Aviral Srivastava added the comment: I have made the changes and tested, my builds were successful. Please review it? CC @brandtbucher, @steven.daprano -- ___ Python tracker __

[issue38307] Provide Class' end line in pyclbr module

2021-01-26 Thread Aviral
Change by Aviral : -- pull_requests: +23168 pull_request: https://github.com/python/cpython/pull/24348 ___ Python tracker ___ ___ Py

[issue38307] Provide Class' end line in pyclbr module

2021-01-25 Thread Aviral Srivastava
Aviral Srivastava added the comment: How do I generate the endline no? Initially, I could do, stack[-1][0].end_lineno = start[0] - 1 but how do I this now given that the recent changes are operating on the AST instead of the token stream? -- nosy: +kebab-mai-haddi ___

[issue38307] Provide Class' end line in pyclbr module

2019-10-18 Thread Steven D'Aprano
Change by Steven D'Aprano : -- title: Provide Class' end line in readmodule module -> Provide Class' end line in pyclbr module ___ Python tracker ___ _