summaryrefslogtreecommitdiffstats
path: root/Modules/zipimport.c
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-09-07 12:03:06 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-09-07 12:03:06 (GMT)
commit0be894b2f6ca17204922399d6982f0b8a9dc59a1 (patch)
tree74e27a76dc86b36370cc6afb9c160f7503cc7599 /Modules/zipimport.c
parentbe8da9c9906571698fe218da9e218ece500d5239 (diff)
downloadcpython-0be894b2f6ca17204922399d6982f0b8a9dc59a1.zip
cpython-0be894b2f6ca17204922399d6982f0b8a9dc59a1.tar.gz
cpython-0be894b2f6ca17204922399d6982f0b8a9dc59a1.tar.bz2
Issue #27895: Spelling fixes (Contributed by Ville Skyttä).
Diffstat (limited to 'Modules/zipimport.c')
-rw-r--r--Modules/zipimport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/zipimport.c b/Modules/zipimport.c
index e840271..6d5c68a 100644
--- a/Modules/zipimport.c
+++ b/Modules/zipimport.c
@@ -1315,7 +1315,7 @@ unmarshal_code(PyObject *pathname, PyObject *data, time_t mtime)
return code;
}
-/* Replace any occurances of "\r\n?" in the input string with "\n".
+/* Replace any occurrences of "\r\n?" in the input string with "\n".
This converts DOS and Mac line endings to Unix line endings.
Also append a trailing "\n" to be compatible with
PyParser_SimpleParseFile(). Returns a new reference. */