[issue23932] Tutorial section on function annotations is out of date re: PEP 484

2015-04-13 Thread Zachary Ware
Zachary Ware added the comment: Cleaned it up just a little bit and committed. Thanks for the patch, Juti! -- ___ Python tracker ___

[issue23932] Tutorial section on function annotations is out of date re: PEP 484

2015-04-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0acb8dcb8e0c by Zachary Ware in branch '3.4': Issue #23932: Update the tutorial section on function annotations. https://hg.python.org/cpython/rev/0acb8dcb8e0c New changeset 75a6774ba070 by Zachary Ware in branch 'default': Closes #23932: Merge with

[issue23932] Tutorial section on function annotations is out of date re: PEP 484

2015-04-13 Thread Juti Noppornpitak
Juti Noppornpitak added the comment: Based on the review -- Added file: http://bugs.python.org/file38923/issue23932.r2.patch ___ Python tracker ___ __

[issue23932] Tutorial section on function annotations is out of date re: PEP 484

2015-04-13 Thread Zachary Ware
Zachary Ware added the comment: @Juti: Thanks for the patch! I've left a review on Rietveld, which should have sent you an email (or you can get to it through the 'review' link). -- ___ Python tracker ___

[issue23932] Tutorial section on function annotations is out of date re: PEP 484

2015-04-13 Thread Juti Noppornpitak
Juti Noppornpitak added the comment: I reworded to mention the coming changes regarding to PEP 484. The old writing which mention about arbitariness is moved to the end of the "function annotations" section as a warning. -- keywords: +patch nosy: +shiroyuki Added file: http://bugs.pyth

[issue23932] Tutorial section on function annotations is out of date re: PEP 484

2015-04-13 Thread Zachary Ware
New submission from Zachary Ware: (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 u