]> granicus.if.org Git - python/commitdiff
Remove wording that could be deemed to be perjorative (GH-9287)
authorRaymond Hettinger <rhettinger@users.noreply.github.com>
Fri, 14 Sep 2018 04:17:40 +0000 (21:17 -0700)
committerGitHub <noreply@github.com>
Fri, 14 Sep 2018 04:17:40 +0000 (21:17 -0700)
Lib/_pyio.py
Modules/_ctypes/libffi_msvc/README
Modules/_ctypes/libffi_osx/README
Tools/clinic/clinic.py

index f0d4f4ed27a2434d4ee097b32c9265010336e67d..01ef5b7b0bb5623c83c6b75abcf5f56a5fe5459d 100644 (file)
@@ -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)
index 1fc27470d0a352b92497f1d1a07e971a6e257c45..69e46cbf8a420fa5e63796cad97a938e01ab8a73 100644 (file)
@@ -372,8 +372,8 @@ single-precision anyway.  This causes one test to fail (the `many
 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
 by /*@ and @*/. These are annotations read by the program LCLint, a
index 1fc27470d0a352b92497f1d1a07e971a6e257c45..69e46cbf8a420fa5e63796cad97a938e01ab8a73 100644 (file)
@@ -372,8 +372,8 @@ single-precision anyway.  This causes one test to fail (the `many
 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
 by /*@ and @*/. These are annotations read by the program LCLint, a
index 653afbea5fc94f8862f1f41d0f03c9675e32b3e6..a6a43d1361d0e1a65d228b712031b29cf46e49f1 100755 (executable)
@@ -2787,7 +2787,7 @@ class str_converter(CConverter):
 
 #
 # 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
 # unit and the arguments necessary to represent those semantics
 # properly.  Hopefully with this approach we'll get it 100% right.