Unverified Kaydet (Commit) 1401018d authored tarafından Raymond Hettinger's avatar Raymond Hettinger Kaydeden (comit) GitHub

Remove wording that could be deemed to be perjorative (GH-9287)

üst 4e824e96
...@@ -2283,7 +2283,7 @@ class TextIOWrapper(TextIOBase): ...@@ -2283,7 +2283,7 @@ class TextIOWrapper(TextIOBase):
# current pos. # current pos.
# Rationale: calling decoder.decode() has a large overhead # Rationale: calling decoder.decode() has a large overhead
# regardless of chunk size; we want the number of such calls to # 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 # Actually, it will be exactly 1 for fixed-size codecs (all
# 8-bit codecs, also UTF-16 and UTF-32). # 8-bit codecs, also UTF-16 and UTF-32).
skip_bytes = int(self._b2cratio * chars_to_skip) skip_bytes = int(self._b2cratio * chars_to_skip)
......
...@@ -372,8 +372,8 @@ single-precision anyway. This causes one test to fail (the `many ...@@ -372,8 +372,8 @@ single-precision anyway. This causes one test to fail (the `many
arguments' test). arguments' test).
What's With The Crazy Comments? What's With The Cryptic Comments?
=============================== =================================
You might notice a number of cryptic comments in the code, delimited You might notice a number of cryptic comments in the code, delimited
by /*@ and @*/. These are annotations read by the program LCLint, a by /*@ and @*/. These are annotations read by the program LCLint, a
......
...@@ -372,8 +372,8 @@ single-precision anyway. This causes one test to fail (the `many ...@@ -372,8 +372,8 @@ single-precision anyway. This causes one test to fail (the `many
arguments' test). arguments' test).
What's With The Crazy Comments? What's With The Cryptic Comments?
=============================== =================================
You might notice a number of cryptic comments in the code, delimited You might notice a number of cryptic comments in the code, delimited
by /*@ and @*/. These are annotations read by the program LCLint, a by /*@ and @*/. These are annotations read by the program LCLint, a
......
...@@ -2787,7 +2787,7 @@ class str_converter(CConverter): ...@@ -2787,7 +2787,7 @@ class str_converter(CConverter):
# #
# This is the fourth or fifth rewrite of registering all the # This is the fourth or fifth rewrite of registering all the
# crazy string converter format units. Previous approaches hid # string converter format units. Previous approaches hid
# bugs--generally mismatches between the semantics of the format # bugs--generally mismatches between the semantics of the format
# unit and the arguments necessary to represent those semantics # unit and the arguments necessary to represent those semantics
# properly. Hopefully with this approach we'll get it 100% right. # properly. Hopefully with this approach we'll get it 100% right.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment