This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients John Hossbach, docs@python, terry.reedy
Date 2018-02-10.00:51:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1518223884.27.0.467229070634.issue32766@psf.upfronthosting.co.za>
In-reply-to
Content
3.5 and its docs are frozen except for security patches.  The 3.7 doc is identical.

The sentence refers to the def statement and perhaps should say so.  It should end with 'a required argument, an optional argument, and the return value annotated'.  Or maybe better, 'annotations for ... and the return value.'

In 3.6, cpython dicts became (unofficially) input ordered.  In 3.7, this became official for Python dicts.  The example output should be changed to what it is now.  (This is an example where the change produces better output.)

Annotations: {'ham': <class 'str'>, 'eggs': <class 'str'>, 'return': <class 'str'>}
History
Date User Action Args
2018-02-10 00:51:24terry.reedysetrecipients: + terry.reedy, docs@python, John Hossbach
2018-02-10 00:51:24terry.reedysetmessageid: <1518223884.27.0.467229070634.issue32766@psf.upfronthosting.co.za>
2018-02-10 00:51:24terry.reedylinkissue32766 messages
2018-02-10 00:51:24terry.reedycreate