]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[doc] Fix indentation in inspect documentation (GH-24846)
authorNumerlor <25886452+Numerlor@users.noreply.github.com>
Fri, 21 May 2021 17:05:35 +0000 (19:05 +0200)
committerGitHub <noreply@github.com>
Fri, 21 May 2021 17:05:35 +0000 (18:05 +0100)
Doc/library/inspect.rst

index b9e8be1234e259f192d8d430533bcbf841adaa27..ed33cbb8a61ab222c2de157d123bac76df268dae 100644 (file)
@@ -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