From: Yury Selivanov Date: Mon, 27 Jan 2014 19:26:28 +0000 (-0500) Subject: doc/inspect: Clarify docs for __defaults__, add docs for __kwdefaults__ #20380 X-Git-Tag: v3.4.0rc1~219 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ea2d66e68a6901d886e17ab56f98299dbd65150a;p=python doc/inspect: Clarify docs for __defaults__, add docs for __kwdefaults__ #20380 --- diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index 0695610960..0a3a5718a7 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 |