summaryrefslogtreecommitdiff
path: root/Python/fileutils.c
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2018-04-20 23:08:45 +0300
committerTerry Jan Reedy <tjreedy@udel.edu>2018-04-20 16:08:45 -0400
commit61f82e0e337f971da57f8f513abfe693edf95aa5 (patch)
treed783b7677df1f57618381c0b7c925a990a115444 /Python/fileutils.c
parent0399cf9b5e370516e3d0aed6a63ff74aff5eadb5 (diff)
downloadcpython-git-61f82e0e337f971da57f8f513abfe693edf95aa5.tar.gz
Spelling fixes to docs, docstrings, and comments (GH-6374)
Diffstat (limited to 'Python/fileutils.c')
-rw-r--r--Python/fileutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/fileutils.c b/Python/fileutils.c
index 32aeea4f10..35869c81ac 100644
--- a/Python/fileutils.c
+++ b/Python/fileutils.c
@@ -431,7 +431,7 @@ decode_error:
can be decoded as a surrogate character, escape the bytes using the
surrogateescape error handler instead of decoding them.
- On sucess, return 0 and write the newly allocated wide character string into
+ On success, return 0 and write the newly allocated wide character string into
*wstr (use PyMem_RawFree() to free the memory). If wlen is not NULL, write
the number of wide characters excluding the null character into *wlen.