mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Remove wording that could be deemed to be perjorative (GH-9287)
This commit is contained in:
parent
4e824e9649
commit
1401018da1
4 changed files with 6 additions and 6 deletions
|
@ -2283,7 +2283,7 @@ class TextIOWrapper(TextIOBase):
|
|||
# current pos.
|
||||
# Rationale: calling decoder.decode() has a large overhead
|
||||
# regardless of chunk size; we want the number of such calls to
|
||||
# be O(1) in most situations (common decoders, non-crazy input).
|
||||
# be O(1) in most situations (common decoders, sensible input).
|
||||
# Actually, it will be exactly 1 for fixed-size codecs (all
|
||||
# 8-bit codecs, also UTF-16 and UTF-32).
|
||||
skip_bytes = int(self._b2cratio * chars_to_skip)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue