]> granicus.if.org Git - python/commit
Issue #8814: function annotations (the `__annotations__` attribute)
authorAntoine Pitrou <solipsis@pitrou.net>
Wed, 4 Aug 2010 18:28:02 +0000 (18:28 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Wed, 4 Aug 2010 18:28:02 +0000 (18:28 +0000)
commit560f7647ce5991140e215a7ac775130798c92dc8
tree7b19296ddf3d8a0d111766226cff9367f77bd619
parent5626eec0c2f62999967eff0ab6aa8ad329e8571b
Issue #8814: function annotations (the `__annotations__` attribute)
are now included in the set of attributes copied by default by
functools.wraps and functools.update_wrapper.  Patch by Terrence Cole.
Doc/library/functools.rst
Lib/functools.py
Lib/test/test_functools.py
Misc/ACKS
Misc/NEWS