Skip to content

Commit ad13373

Browse files
committed
Update codecs.py to CPython 3.10
1 parent ccb2434 commit ad13373

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Lib/codecs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
class CodecInfo(tuple):
8484
"""Codec details when looking up the codec registry"""
8585

86-
# Private API to allow Python 3.4 to blacklist the known non-Unicode
86+
# Private API to allow Python 3.4 to denylist the known non-Unicode
8787
# codecs in the standard library. A more general mechanism to
8888
# reliably distinguish test encodings from other codecs will hopefully
8989
# be defined for Python 3.5
@@ -386,7 +386,7 @@ def writelines(self, list):
386386

387387
def reset(self):
388388

389-
""" Flushes and resets the codec buffers used for keeping state.
389+
""" Resets the codec buffers used for keeping internal state.
390390
391391
Calling this method should ensure that the data on the
392392
output is put into a clean state, that allows appending
@@ -620,7 +620,7 @@ def readlines(self, sizehint=None, keepends=True):
620620

621621
def reset(self):
622622

623-
""" Resets the codec buffers used for keeping state.
623+
""" Resets the codec buffers used for keeping internal state.
624624
625625
Note that no stream repositioning should take place.
626626
This method is primarily intended to be able to recover

0 commit comments

Comments
 (0)