[Python-checkins] Remove wording that could be deemed to be perjorative (GH-9287)

Raymond Hettinger webhook-mailer at python.org
Fri Sep 14 00:17:43 EDT 2018


https://github.com/python/cpython/commit/1401018da127c668a607bc63a14e5b6c3156f916
commit: 1401018da127c668a607bc63a14e5b6c3156f916
branch: master
author: Raymond Hettinger <rhettinger at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018年09月13日T21:17:40-07:00
summary:
Remove wording that could be deemed to be perjorative (GH-9287)
files:
M Lib/_pyio.py
M Modules/_ctypes/libffi_msvc/README
M Modules/_ctypes/libffi_osx/README
M Tools/clinic/clinic.py
diff --git a/Lib/_pyio.py b/Lib/_pyio.py
index f0d4f4ed27a2..01ef5b7b0bb5 100644
--- a/Lib/_pyio.py
+++ b/Lib/_pyio.py
@@ -2283,7 +2283,7 @@ def tell(self):
 # 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)
diff --git a/Modules/_ctypes/libffi_msvc/README b/Modules/_ctypes/libffi_msvc/README
index 1fc27470d0a3..69e46cbf8a42 100644
--- a/Modules/_ctypes/libffi_msvc/README
+++ b/Modules/_ctypes/libffi_msvc/README
@@ -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
diff --git a/Modules/_ctypes/libffi_osx/README b/Modules/_ctypes/libffi_osx/README
index 1fc27470d0a3..69e46cbf8a42 100644
--- a/Modules/_ctypes/libffi_osx/README
+++ b/Modules/_ctypes/libffi_osx/README
@@ -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
diff --git a/Tools/clinic/clinic.py b/Tools/clinic/clinic.py
index 653afbea5fc9..a6a43d1361d0 100755
--- a/Tools/clinic/clinic.py
+++ b/Tools/clinic/clinic.py
@@ -2787,7 +2787,7 @@ def cleanup(self):
 
 #
 # 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.


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /