[issue38935] File modes with '+' character does not give expected output

Anmol Kejriwal report at bugs.python.org
Thu Nov 28 02:20:26 EST 2019


Anmol Kejriwal <kejriwalanmol at gmail.com> added the comment:

According to the doc,
https://docs.python.org/3/library/functions.html#open

The expected output for r+ mode in the program mentioned earlier should be:

123This is python.
This is an easy language.
Anyone can learn this easily

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38935>
_______________________________________


More information about the Python-bugs-list mailing list