Terry J. Reedy added the comment: Agreed. Here is a patch I will commit if you approve. I deleted 'convenience function' as distracting, labelled *file* a *text* stream in the first line, and added the rest of the comment after the current 'file' sentence, making separate 'file' and 'flush' paragraphs.
I unstarred 'file' in the addition to try to make it slightly clearer that the comment applies to the default sys.stdout, when rebound to a binary mode file, as well as to explicit *file=* arguments. ---------- nosy: +terry.reedy stage: -> commit review type: -> enhancement versions: +Python 3.4, Python 3.5 Added file: http://bugs.python.org/file36765/print-22492-34.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22492> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com