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 docs@python, dxflores, eric.smith, terry.reedy
Date 2020-03-20.19:44:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1584733464.34.0.791741882184.issue39971@roundup.psfhosted.org>
In-reply-to
Content
Looking around further, examples meant to be executable as is are given interactive prompts and needed doctest directives

    >>> gen  #doctest: +ELLIPSIS
    <generator object generate_ints at ...>

I think that this example should get the same treatment.  Non-executable examples are usually clearly non-executable because then contain undefined names line 'expr2' and 'sequence2', whereas this example starts by defining 'line_list'.
History
Date User Action Args
2020-03-20 19:44:24terry.reedysetrecipients: + terry.reedy, eric.smith, docs@python, dxflores
2020-03-20 19:44:24terry.reedysetmessageid: <1584733464.34.0.791741882184.issue39971@roundup.psfhosted.org>
2020-03-20 19:44:24terry.reedylinkissue39971 messages
2020-03-20 19:44:24terry.reedycreate