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 JelleZijlstra
Recipients JelleZijlstra, docs@python, rav
Date 2017-04-04.04:56:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1491281797.12.0.0022375223878.issue29974@psf.upfronthosting.co.za>
In-reply-to
Content
The example is actually correct; I just confirmed by running it in my shell. Type annotations on local variables are not evaluated at runtime; see PEP 526.
History
Date User Action Args
2017-04-04 04:56:37JelleZijlstrasetrecipients: + JelleZijlstra, docs@python, rav
2017-04-04 04:56:37JelleZijlstrasetmessageid: <1491281797.12.0.0022375223878.issue29974@psf.upfronthosting.co.za>
2017-04-04 04:56:37JelleZijlstralinkissue29974 messages
2017-04-04 04:56:36JelleZijlstracreate