Commits

1st1 committed f77633f

pep 362: Fix comment

  • Participants
  • Parent commits cde2d39
  • Branches pep362

Comments (0)

Files changed (1)

File Lib/inspect.py

         kwargs_param = None
         for param in itertools.chain(parameters_ex, parameters):
             if param.kind == _POSITIONAL_ONLY:
-                # This should never happen in case of properly built
-                # Signature object
+                # This should never happen in case of a properly built
+                # Signature object (but let's have this check here
+                # to ensure correct behaviour just in case)
                 raise TypeError('{arg!r} parameter is positional only, '
                                 'but was passed as a keyword'. \
                                 format(arg=param.name))