Skip to content

Commit 225821c

Browse files
Issue python#25899: Converted non-ASCII characters in docstrings and manpage
to ASCII replacements. Original patch by Chris Angelico.
1 parent 29e2aa6 commit 225821c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Lib/multiprocessing/connection.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ def _send_bytes(self, buf):
397397
self._send(header)
398398
self._send(buf)
399399
else:
400-
# Issue #20540: concatenate before sending, to avoid delays due
400+
# Issue #20540: concatenate before sending, to avoid delays due
401401
# to Nagle's algorithm on a TCP socket.
402402
# Also note we want to avoid sending a 0-length buffer separately,
403403
# to avoid "broken pipe" errors if the other end closed the pipe.

Misc/python.man

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ raises an exception.
143143
.TP
144144
.B \-I
145145
Run Python in isolated mode. This also implies \fB\-E\fP and \fB\-s\fP. In
146-
isolated mode sys.path contains neither the scripts directory nor the users
146+
isolated mode sys.path contains neither the script's directory nor the user's
147147
site-packages directory. All PYTHON* environment variables are ignored, too.
148148
Further restrictions may be imposed to prevent the user from injecting
149149
malicious code.

Python/marshal.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1644,7 +1644,7 @@ The file must be an open file object such as sys.stdout or returned by\n\
16441644
open() or os.popen(). It must be opened in binary mode ('wb' or 'w+b').\n\
16451645
\n\
16461646
If the value has (or contains an object that has) an unsupported type, a\n\
1647-
ValueError exception is raised but garbage data will also be written\n\
1647+
ValueError exception is raised - but garbage data will also be written\n\
16481648
to the file. The object will not be properly read back by load()\n\
16491649
\n\
16501650
The version argument indicates the data format that dump should use.");
@@ -1695,7 +1695,7 @@ PyDoc_STRVAR(load_doc,
16951695
"load(file)\n\
16961696
\n\
16971697
Read one value from the open file and return it. If no valid value is\n\
1698-
read (e.g. because the data has a different Python versions\n\
1698+
read (e.g. because the data has a different Python version's\n\
16991699
incompatible marshal format), raise EOFError, ValueError or TypeError.\n\
17001700
The file must be an open file object opened in binary mode ('rb' or\n\
17011701
'r+b').\n\

0 commit comments

Comments
 (0)