From: Numerlor <25886452+Numerlor@users.noreply.github.com> Date: Fri, 21 May 2021 17:05:35 +0000 (+0200) Subject: [doc] Fix indentation in inspect documentation (GH-24846) X-Git-Tag: v3.11.0a1~1065 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=642fdfdc04e8e40c2cd3e65d67b09fac472bb345;p=thirdparty%2FPython%2Fcpython.git [doc] Fix indentation in inspect documentation (GH-24846) --- diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index b9e8be1234e2..ed33cbb8a61a 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