[issue39971] Error on documentation - Quick fix.

2020-03-16 Thread Diogo Flores
Diogo Flores added the comment: Agreed, Eric. Nevertheless, I think that this example might raise unnecessary confusion to someone new to Python, and hence the reason why I decided to open the issue. Anyhow, I trust your judgement and please feel free to leave things as is and close this iss

[issue39971] Error on documentation - Quick fix.

2020-03-15 Thread Eric V. Smith
Eric V. Smith added the comment: I don't think that was meant to be a literal example. I think that "..." here means "and other strings". -- nosy: +eric.smith ___ Python tracker

[issue39971] Error on documentation - Quick fix.

2020-03-15 Thread Diogo Flores
New submission from Diogo Flores : Hello, A code example from the 'functional programming how-to' raises an error. The simplest fix would be to remove the Ellipsis object from the 'line_list'. Thank you, Diogo Please check below for the commands issued: # https://docs.python.org/3/howto/fu