Skip to content

Commit

Permalink
[doc] Fix indentation in inspect documentation (GH-24846) (GH-26288)
Browse files Browse the repository at this point in the history
(cherry picked from commit 642fdfd)

Co-authored-by: Numerlor <25886452+Numerlor@users.noreply.github.com>
  • Loading branch information
miss-islington and Numerlor committed May 21, 2021
1 parent d3cc689 commit bcd5913
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Doc/library/inspect.rst
Expand Up @@ -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

Expand Down

0 comments on commit bcd5913

Please sign in to comment.