having both dynamic and static variables
Steven D'Aprano
steve+comp.lang.python at pearwood.info
Sun Mar 6 02:29:11 EST 2011
On Thu, 03 Mar 2011 08:52:16 -0800, Rafe Kettler wrote:
>> Finally, Python 3 introduced type annotations, which are currently a
>> feature looking for a reason.
>
> By type annotations, do you mean function annotations (see PEP 3107,
> http://www.python.org/dev/peps/pep-3107/)? Or is this some other feature
> that I'm unaware of?
Sorry, yes, I meant function annotations. Of course you can use function
annotations for more than just types.
--
Steven
More information about the Python-list
mailing list