New submission from Nicholas Matthews :
The class inspect.Signature asks for parameters of type dict in python 3.8+
(and OrderedDict in earlier versions); however the __init__ function iterates
over parameters as if it were a list, specifically:
for param in parameters:
name = param.name
Nicholas Matthews added the comment:
I originally filed an issue believing the documentation for inspect.Signature
was incorrect; I now think I misread the documentation. (Apologies, I'm used to
a different docstring format)
--
___
Python tr
New submission from Nicholas Matthews :
Currently the final sentence of the second paragraph reads:
"In the following example, both MyClass and MySubclass are instances of Meta:"
It should read something like:
"In the following example, both MyClass and MySubclass have the metac
Nicholas Matthews added the comment:
Ok, I will create a PR soon and update the issue.
--
___
Python tracker
<https://bugs.python.org/issue36947>
___
___
Pytho
Nicholas Matthews added the comment:
Thanks for the clarification. For the first point on the correctness of the
original text, that makes sense, could you link me to any relevant
documentation for further reading?
On the second point "Meta modifies the creation of the classes thems