From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 21 May 2021 17:06:58 +0000 (-0700) Subject: [doc] Fix indentation in inspect documentation (GH-24846) (GH-26288) X-Git-Tag: v3.9.6~68 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bcd59134f58a257580fdec41f37c620ae8f535cf;p=thirdparty%2FPython%2Fcpython.git [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> --- diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index b53a9421fbca..d1e4a9b5f30f 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