diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2014-01-27 19:26:28 (GMT) |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2014-01-27 19:26:28 (GMT) |
commit | ea2d66e68a6901d886e17ab56f98299dbd65150a (patch) | |
tree | 3e954ef057b7f4d2524a1d0dcecb2cd77f2268d9 | |
parent | 2eed8b7da06fe865b6246590d4b13cf723f547cd (diff) | |
download | cpython-ea2d66e68a6901d886e17ab56f98299dbd65150a.zip cpython-ea2d66e68a6901d886e17ab56f98299dbd65150a.tar.gz cpython-ea2d66e68a6901d886e17ab56f98299dbd65150a.tar.bz2 |
doc/inspect: Clarify docs for __defaults__, add docs for __kwdefaults__ #20380
-rw-r--r-- | Doc/library/inspect.rst | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index 0695610..0a3a571 100644 --- a/Doc/library/inspect.rst +++ b/Doc/library/inspect.rst @@ -69,7 +69,12 @@ attributes: | | | :term:`bytecode` | +-----------+-----------------+---------------------------+ | | __defaults__ | tuple of any default | -| | | values for arguments | +| | | values for positional or | +| | | keyword parameters | ++-----------+-----------------+---------------------------+ +| | __kwdefaults__ | mapping of any default | +| | | values for keyword-only | +| | | parameters | +-----------+-----------------+---------------------------+ | | __globals__ | global namespace in which | | | | this function was defined | |