[issue39971] Error in functional how-to example

Terry J. Reedy report at bugs.python.org
Fri Mar 20 15:17:32 EDT 2020


Terry J. Reedy <tjreedy at udel.edu> 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: Error on documentation  -  Quick fix. -> Error in functional how-to example
versions: +Python 3.7, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39971>
_______________________________________


More information about the Python-bugs-list mailing list