Terry J. Reedy added the comment:
Looking around further, examples meant to be executable as is are given
interactive prompts and needed doctest directives
>>> gen #doctest: +ELLIPSIS
I think that this example should get the same treatment. Non-executable
examples are usually cle
Terry J. Reedy added the comment:
Working on PR. The example 1 further on has a stray meaningless ellipsis.
for expr3 in sequence3 ...
if condition3
Perhaps this was meant to follow the next line, but I will remove it.
--
__
Terry J. Reedy added the comment:
In think examples should run and that '...' should be replaced by something
like "' \n', ''". The blank string looks ahead to the next example, which adds
' if line != ""' to the comprehension.
--
nosy: +terry.reedy
stage: -> needs patch
title: Err