summaryrefslogtreecommitdiff
path: root/Python/marshal.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-12-18 13:10:37 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2015-12-18 13:10:37 +0200
commit3fd4a735d82e43e1c531ebcead3c95814d4b6384 (patch)
treef5640c599b2ec88167d3d6c39732357a085e0bd7 /Python/marshal.c
parentbe22a911ff15f890702d134c0360419c3167da09 (diff)
parent225821c6537ec4c3b5269edabbf914527d6a7031 (diff)
downloadcpython-git-3fd4a735d82e43e1c531ebcead3c95814d4b6384.tar.gz
Issue #25899: Converted non-ASCII characters in docstrings and manpage
to ASCII replacements. Removed UTF-8 BOM from Misc/NEWS. Original patch by Chris Angelico.
Diffstat (limited to 'Python/marshal.c')
-rw-r--r--Python/marshal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/marshal.c b/Python/marshal.c
index f89cd04b65..5b8de99192 100644
--- a/Python/marshal.c
+++ b/Python/marshal.c
@@ -1644,7 +1644,7 @@ The file must be an open file object such as sys.stdout or returned by\n\
open() or os.popen(). It must be opened in binary mode ('wb' or 'w+b').\n\
\n\
If the value has (or contains an object that has) an unsupported type, a\n\
-ValueError exception is raised — but garbage data will also be written\n\
+ValueError exception is raised - but garbage data will also be written\n\
to the file. The object will not be properly read back by load()\n\
\n\
The version argument indicates the data format that dump should use.");
@@ -1695,7 +1695,7 @@ PyDoc_STRVAR(load_doc,
"load(file)\n\
\n\
Read one value from the open file and return it. If no valid value is\n\
-read (e.g. because the data has a different Python version’s\n\
+read (e.g. because the data has a different Python version's\n\
incompatible marshal format), raise EOFError, ValueError or TypeError.\n\
The file must be an open file object opened in binary mode ('rb' or\n\
'r+b').\n\