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

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

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

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12254>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to