[Python-Dev] PEP 484
Greg Ewing
greg.ewing at canterbury.ac.nz
Thu Jul 5 01:04:51 EDT 2018
More information about the Python-Dev mailing list
Thu Jul 5 01:04:51 EDT 2018
- Previous message (by thread): [Python-Dev] PEP 484
- Next message (by thread): [Python-Dev] PEP 484
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Shawn Chen wrote: > The PEP 484 is proposing a type hint which can annotate the type of each > parameters. How ever code written in this format can not be run for > python3.5 and below. You're a bit late. Parameter annotations have been a part of the language since at least 3.1. PEP 484 just codifies a way of using them to represent types. Also, PEP 484 does specify a way of using comments to indicate types. -- Greg
- Previous message (by thread): [Python-Dev] PEP 484
- Next message (by thread): [Python-Dev] PEP 484
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list