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

(cherry picked from commit 642fdfdc04)

Co-authored-by: Numerlor <25886452+Numerlor@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2021-05-21 10:06:41 -07:00 committed by GitHub
parent 07dba474c5
commit 1886b8496b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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