Message240606
| Author |
zach.ware |
| Recipients |
docs@python, gvanrossum, tim.golden, zach.ware |
| Date |
2015年04月13日.13:39:53 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1428932394.25.0.74013439586.issue23932@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
(Brought up by 'Tronster' on docs@)
https://docs.python.org/3/tutorial/controlflow.html#function-annotations
In light of the PEP 484 and its clear intentions for function annotations, the tutorial section on function annotations is out of date. It should be updated to be clear that function annotations are intended for type hints, and that other uses are no longer encouraged. The example should also use some built-in types in a manner consistent with PEP 484. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年04月13日 13:39:54 | zach.ware | set | recipients:
+ zach.ware, gvanrossum, tim.golden, docs@python |
| 2015年04月13日 13:39:54 | zach.ware | set | messageid: <1428932394.25.0.74013439586.issue23932@psf.upfronthosting.co.za> |
| 2015年04月13日 13:39:54 | zach.ware | link | issue23932 messages |
| 2015年04月13日 13:39:53 | zach.ware | create |
|