Skip to content

Improve class and function definition identification#283

Open
PhilipNelson5 wants to merge 2 commits intoNilsJPWerner:masterfrom
PhilipNelson5:190-bug-reserved-word-defaults
Open

Improve class and function definition identification#283
PhilipNelson5 wants to merge 2 commits intoNilsJPWerner:masterfrom
PhilipNelson5:190-bug-reserved-word-defaults

Conversation

@PhilipNelson5
Copy link
Copy Markdown
Contributor

If a function uses the words class or def in it's signature, it breaks the definition identification. This expands the match to include the function/class name and arguments to disambiguate this case.

closes #190

reserved words 'class' and 'def' would break the identification of function and class definitions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Parameters are omitted when parameter has a default string containing python "reserved" words

1 participant