summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-05-21 17:06:58 (GMT)
committerGitHub <noreply@github.com>2021-05-21 17:06:58 (GMT)
commitbcd59134f58a257580fdec41f37c620ae8f535cf (patch)
treea3735620de963c99859d63d145b6b12633ed6aa3 /Doc
parentd3cc68900dc99966007112f884779895daefc7db (diff)
downloadcpython-bcd59134f58a257580fdec41f37c620ae8f535cf.zip
cpython-bcd59134f58a257580fdec41f37c620ae8f535cf.tar.gz
cpython-bcd59134f58a257580fdec41f37c620ae8f535cf.tar.bz2
[doc] Fix indentation in inspect documentation (GH-24846) (GH-26288)
(cherry picked from commit 642fdfdc04e8e40c2cd3e65d67b09fac472bb345) Co-authored-by: Numerlor <25886452+Numerlor@users.noreply.github.com>
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/inspect.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
index b53a942..d1e4a9b 100644
--- a/Doc/library/inspect.rst
+++ b/Doc/library/inspect.rst
@@ -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