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

2011-06-03 Thread Éric Araujo
Éric Araujo added the comment: All func_* attributes in 2.x have been given __*__ names in 3.x. -- nosy: +eric.araujo resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker

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

2011-06-03 Thread Roman Alexeev
New submission from Roman Alexeev : 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: