[docs] [issue12254] PEP-3107 has a wrong attribute name for function annotations

Roman Alexeev report at bugs.python.org
Fri Jun 3 17:47:40 CEST 2011


New submission from Roman Alexeev <letit.bee at gmail.com>:

The name of the attribute holding annotations is `__annotations__`, not `func_annotations` as PEP-3107 says.

----------
assignee: docs at python
components: Documentation
messages: 137532
nosy: Roman.Alexeev, docs at python
priority: normal
severity: normal
status: open
title: PEP-3107 has a wrong attribute name for function annotations

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12254>
_______________________________________


More information about the docs mailing list