summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNumerlor <25886452+Numerlor@users.noreply.github.com>2021-05-21 17:05:35 (GMT)
committerGitHub <noreply@github.com>2021-05-21 17:05:35 (GMT)
commit642fdfdc04e8e40c2cd3e65d67b09fac472bb345 (patch)
treef3a1ca3865a1fdaced250511a5903aa694747db2
parent875b3d84b3072b2d3c352ad9f0ff52c441fbd12e (diff)
downloadcpython-642fdfdc04e8e40c2cd3e65d67b09fac472bb345.zip
cpython-642fdfdc04e8e40c2cd3e65d67b09fac472bb345.tar.gz
cpython-642fdfdc04e8e40c2cd3e65d67b09fac472bb345.tar.bz2
[doc] Fix indentation in inspect documentation (GH-24846)
-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 b9e8be1..ed33cbb 100644
--- a/Doc/library/inspect.rst
+++ b/Doc/library/inspect.rst
@@ -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