diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2020-02-21 20:57:26 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-21 09:57:26 -0800 |
commit | fd5116c0e77aec05f67fb24f10562ac920648035 (patch) | |
tree | e980fc8e6aa1ed8d62312fb17dbf01935c1e6e04 /Lib/asyncio/protocols.py | |
parent | d4d17fd2cf69e7c8f4cd03fbf2d575370945b952 (diff) | |
download | cpython-git-fd5116c0e77aec05f67fb24f10562ac920648035.tar.gz |
bpo-35950: Raise UnsupportedOperation in BufferedReader.truncate() (GH-18586)
The truncate() method of io.BufferedReader() should raise
UnsupportedOperation when it is called on a read-only
io.BufferedReader() instance.
https://bugs.python.org/issue35950
Automerge-Triggered-By: @methane
Diffstat (limited to 'Lib/asyncio/protocols.py')
0 files changed, 0 insertions, 0 deletions