Message305045
Is it correct that the parameter can be annotated in the function body?
def f(x):
x: int
Or that the local variable can be annotated after assignment?
def f():
x = 1
x: int |
|
Date |
User |
Action |
Args |
2017-10-26 11:31:51 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, gvanrossum, levkivskyi |
2017-10-26 11:31:51 | serhiy.storchaka | set | messageid: <1509017511.8.0.213398074469.issue28936@psf.upfronthosting.co.za> |
2017-10-26 11:31:51 | serhiy.storchaka | link | issue28936 messages |
2017-10-26 11:31:51 | serhiy.storchaka | create | |
|