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

iritkatriel webhook-mailer at python.org
Fri May 21 13:07:07 EDT 2021


https://github.com/python/cpython/commit/bcd59134f58a257580fdec41f37c620ae8f535cf
commit: bcd59134f58a257580fdec41f37c620ae8f535cf
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: iritkatriel <iritkatriel at yahoo.com>
date: 2021-05-21T18:06:58+01:00
summary:

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

(cherry picked from commit 642fdfdc04e8e40c2cd3e65d67b09fac472bb345)

Co-authored-by: Numerlor <25886452+Numerlor at users.noreply.github.com>

files:
M Doc/library/inspect.rst

diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
index b53a9421fbca6..d1e4a9b5f30f3 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
 



More information about the Python-checkins mailing list