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

(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:58 -07:00 committed by GitHub
parent d3cc68900d
commit bcd59134f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -809,10 +809,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