diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-09-07 12:03:06 +0000 |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-09-07 12:03:06 +0000 |
commit | 0be894b2f6ca17204922399d6982f0b8a9dc59a1 (patch) | |
tree | 74e27a76dc86b36370cc6afb9c160f7503cc7599 /Modules/zipimport.c | |
parent | be8da9c9906571698fe218da9e218ece500d5239 (diff) | |
download | cpython-git-0be894b2f6ca17204922399d6982f0b8a9dc59a1.tar.gz |
Issue #27895: Spelling fixes (Contributed by Ville Skyttä).
Diffstat (limited to 'Modules/zipimport.c')
-rw-r--r-- | Modules/zipimport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/zipimport.c b/Modules/zipimport.c index e840271bfd..6d5c68a61e 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. */ |