homepage

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 serhiy.storchaka
Recipients gvanrossum, levkivskyi, serhiy.storchaka
Date 2017年10月26日.11:31:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1509017511.8.0.213398074469.issue28936@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2017年10月26日 11:31:51serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, levkivskyi
2017年10月26日 11:31:51serhiy.storchakasetmessageid: <1509017511.8.0.213398074469.issue28936@psf.upfronthosting.co.za>
2017年10月26日 11:31:51serhiy.storchakalinkissue28936 messages
2017年10月26日 11:31:51serhiy.storchakacreate

AltStyle によって変換されたページ (->オリジナル) /