Re: [docs] Tutorial section on function annotations is out of date re: PEP 484 (issue 23932)

Can come up with a better example keeping with something referring to
http://bugs.python.org/review/23932/diff/14513/Doc/tutorial/controlflow.rst File Doc/tutorial/controlflow.rst (right): http://bugs.python.org/review/23932/diff/14513/Doc/tutorial/controlflow.rst#... Doc/tutorial/controlflow.rst:679: methods (:pep:`484`). It would be better to move the PEP 484 link into a seealso directive. http://bugs.python.org/review/23932/diff/14513/Doc/tutorial/controlflow.rst#... Doc/tutorial/controlflow.rst:690: >>> def f(a: str, b: str = 'bar') -> str: On 2015/04/13 17:41:36, Zach Ware wrote: the Flying
Circus? Foo and bar are boring and this is Python :)
Agreed. spam, ham and eggs examples were fine in my opinion :) http://bugs.python.org/review/23932/
participants (1)
-
berker.peksag@gmail.com