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 terry.reedy
Recipients Thomas Antony, martin.panter, terry.reedy
Date 2017-04-07.20:27:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1491596864.96.0.589166638262.issue29987@psf.upfronthosting.co.za>
In-reply-to
Content
If you want to know if a function returns a generator, you have to call it and pass the result to *isgenerator*, or use type-annotated functions (see the typing module) and static type checkers.
History
Date User Action Args
2017-04-07 20:27:44terry.reedysetrecipients: + terry.reedy, martin.panter, Thomas Antony
2017-04-07 20:27:44terry.reedysetmessageid: <1491596864.96.0.589166638262.issue29987@psf.upfronthosting.co.za>
2017-04-07 20:27:44terry.reedylinkissue29987 messages
2017-04-07 20:27:44terry.reedycreate