Message364710
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'. |
|
Date |
User |
Action |
Args |
2020-03-20 19:44:24 | terry.reedy | set | recipients:
+ terry.reedy, eric.smith, docs@python, dxflores |
2020-03-20 19:44:24 | terry.reedy | set | messageid: <1584733464.34.0.791741882184.issue39971@roundup.psfhosted.org> |
2020-03-20 19:44:24 | terry.reedy | link | issue39971 messages |
2020-03-20 19:44:24 | terry.reedy | create | |
|