Terry J. Reedy <tjre...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue39971>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to