mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
[doc] Fix indentation in inspect documentation (GH-24846) (GH-26288)
(cherry picked from commit 642fdfdc04)
Co-authored-by: Numerlor <25886452+Numerlor@users.noreply.github.com>
This commit is contained in:
parent
d3cc68900d
commit
bcd59134f5
1 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue