Issue #10899: Function annotations being kept out of the standard library.

This commit is contained in:
Raymond Hettinger 2011-01-12 23:22:08 +00:00
parent eacc2cc483
commit 56dcd4ff1e
1 changed files with 6 additions and 0 deletions

View File

@ -790,6 +790,12 @@ Programming Recommendations
Worse: if greeting is True: Worse: if greeting is True:
Rules that apply only to the standard library
- Do not use function type annotations in the standard library.
These are reserved for users and third-party modules. See
PEP 3107 and the bug 10899 for details.
References References