diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2015-10-31 17:29:15 (GMT) |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2015-10-31 17:29:15 (GMT) |
commit | c62162d5fdae577fd4b6706afaefd68551040df2 (patch) | |
tree | 1292e6c3a4c2579ec3895d85d05061d4aef615bf /Doc/library/inspect.rst | |
parent | 0e5eba25c76aa7936102975a8bfbd42f70a3b9e3 (diff) | |
download | cpython-c62162d5fdae577fd4b6706afaefd68551040df2.zip cpython-c62162d5fdae577fd4b6706afaefd68551040df2.tar.gz cpython-c62162d5fdae577fd4b6706afaefd68551040df2.tar.bz2 |
docs/inspect: Document __annotations__
Diffstat (limited to 'Doc/library/inspect.rst')
-rw-r--r-- | Doc/library/inspect.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index 26a2913..23e559c 100644 --- a/Doc/library/inspect.rst +++ b/Doc/library/inspect.rst @@ -88,6 +88,12 @@ attributes: | | __globals__ | global namespace in which | | | | this function was defined | +-----------+-----------------+---------------------------+ +| | __annotations__ | mapping of parameters | +| | | names to annotations; | +| | | ``"return"`` key is | +| | | reserved for return | +| | | annotations. | ++-----------+-----------------+---------------------------+ | traceback | tb_frame | frame object at this | | | | level | +-----------+-----------------+---------------------------+ |