mirror of
https://github.com/python/cpython.git
synced 2026-05-15 00:48:35 -04:00
docs/inspect: Document __annotations__
This commit is contained in:
@@ -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 |
|
||||
+-----------+-----------------+---------------------------+
|
||||
|
||||
Reference in New Issue
Block a user