[issue38497] Wrong argument name in documentation for pipes.Template.open

2019-10-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Semantically mode makes sense to me though rw is correct and Template.open docstring has rw. There are docs like unittest where the keyword arguments are slightly different from the actual keyword arguments in the assert helpers. I guess it's sligh

[issue38497] Wrong argument name in documentation for pipes.Template.open

2019-10-16 Thread Ilaï
New submission from Ilaï : Documentation for the pipes module indicates that the second argument of open() is "mode", but it is actually "rw". Python 3.7.4 (default, Oct 4 2019, 06:57:26) [GCC 9.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from pipes