Issue #10899: Function annotations being kept out of the standard library.
This commit is contained in:
parent
eacc2cc483
commit
56dcd4ff1e
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue