[issue37626] Documentation:conflict between docs

徐靖 report at bugs.python.org
Thu Jul 18 23:43:42 EDT 2019


New submission from 徐靖 <shiyuchongf at gmail.com>:

In https://docs.python.org/3/whatsnew/3.4.html#api-and-feature-removals,It is said "inspect.Signature: positional-only parameters are now required to have a valid name." 
But in https://docs.python.org/3/library/inspect.html?highlight=3.4#inspect.Signature, the actual change happened in inspect.Parameter, " Changed in version 3.4: In Python 3.3 Parameter objects were allowed to have name set to None if their kind was set to POSITIONAL_ONLY. This is no longer permitted."
So I wonder is it a mistake?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37626>
_______________________________________


More information about the Python-bugs-list mailing list