13.07.21 14:15, sandhoners...@gmail.com пише: > My suggestion is to have either a writelines2 or a newline kwarg which does > put new lines automatically at the end of every line written
The writelines method is the part of interface. Adding new parameter or new method to interface is a major breaking change. It will make invalid all existing user code which implements this interface. _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/J3ZDZ4TO2IQBZNL2BWMQNZU2ENIJS46J/ Code of Conduct: http://python.org/psf/codeofconduct/