[doc] Fix indentation in inspect documentation (GH-24846)

This commit is contained in:
Numerlor
2021-05-21 19:05:35 +02:00
committed by GitHub
parent 875b3d84b3
commit 642fdfdc04
+4 -4
View File
@@ -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