We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f80392c + be17e5a commit 110772aCopy full SHA for 110772a
parsers/parser.py
@@ -563,8 +563,8 @@ def parse_arguments(self, line):
563
excluded_parameters = ['self', 'cls']
564
arguments = split_by_commas(arguments.group(1))
565
566
- for argument in arguments:
567
- if argument in excluded_parameters:
+ for index, argument in enumerate(arguments):
+ if index == 0 and argument in excluded_parameters:
568
continue
569
570
argument_type = 'keyword_arguments' if '=' in argument else 'arguments'
0 commit comments