mirror of https://github.com/python/cpython
[doc] Fix indentation in inspect documentation (GH-24846)
This commit is contained in:
parent
875b3d84b3
commit
642fdfdc04
|
@ -834,10 +834,10 @@ function.
|
|||
>>> str(param.replace(default=Parameter.empty, annotation='spam'))
|
||||
"foo:'spam'"
|
||||
|
||||
.. versionchanged:: 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.
|
||||
.. versionchanged:: 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.
|
||||
|
||||
.. class:: BoundArguments
|
||||
|
||||
|
|
Loading…
Reference in New Issue