diff options
author | Martin Panter <vadmium+py@gmail.com> | 2015-12-17 10:18:28 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2015-12-17 10:18:28 (GMT) |
commit | 6f9b010242d4d689ae216385cd43dd8f99e3eedc (patch) | |
tree | 1b1378123ab87af17515ea707f567c98188d3a40 | |
parent | 9920e293c3160cc2da4b33b4b83c6a6f3f43d19e (diff) | |
download | cpython-6f9b010242d4d689ae216385cd43dd8f99e3eedc.zip cpython-6f9b010242d4d689ae216385cd43dd8f99e3eedc.tar.gz cpython-6f9b010242d4d689ae216385cd43dd8f99e3eedc.tar.bz2 |
Fix a couple of typos in code comments
-rw-r--r-- | Lib/test/string_tests.py | 2 | ||||
-rw-r--r-- | Lib/test/test_zipfile64.py | 2 | ||||
-rw-r--r-- | Python/fileutils.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/string_tests.py b/Lib/test/string_tests.py index e086994..7605f0d 100644 --- a/Lib/test/string_tests.py +++ b/Lib/test/string_tests.py @@ -685,7 +685,7 @@ class BaseTest: class CommonTest(BaseTest): - # This testcase contains test that can be used in all + # This testcase contains tests that can be used in all # stringlike classes. Currently this is str, unicode # UserString and the string module. diff --git a/Lib/test/test_zipfile64.py b/Lib/test/test_zipfile64.py index 7dea8a3..b9e8e28 100644 --- a/Lib/test/test_zipfile64.py +++ b/Lib/test/test_zipfile64.py @@ -3,7 +3,7 @@ # from test_zipfile from test import support -# XXX(nnorwitz): disable this test by looking for extra largfile resource +# XXX(nnorwitz): disable this test by looking for extralargefile resource, # which doesn't exist. This test takes over 30 minutes to run in general # and requires more disk space than most of the buildbots. support.requires( diff --git a/Python/fileutils.c b/Python/fileutils.c index 079918c..06d632a 100644 --- a/Python/fileutils.c +++ b/Python/fileutils.c @@ -599,7 +599,7 @@ _Py_attribute_data_to_stat(BY_HANDLE_FILE_INFORMATION *info, ULONG reparse_tag, On Windows, use GetFileType() and GetFileInformationByHandle() which support files larger than 2 GB. fstat() may fail with EOVERFLOW on files larger - than 2 GB because the file size type is an signed 32-bit integer: see issue + than 2 GB because the file size type is a signed 32-bit integer: see issue #23152. On Windows, set the last Windows error and return nonzero on error. On @@ -669,7 +669,7 @@ _Py_fstat_noraise(int fd, struct _Py_stat_struct *status) On Windows, use GetFileType() and GetFileInformationByHandle() which support files larger than 2 GB. fstat() may fail with EOVERFLOW on files larger - than 2 GB because the file size type is an signed 32-bit integer: see issue + than 2 GB because the file size type is a signed 32-bit integer: see issue #23152. Raise an exception and return -1 on error. On Windows, set the last Windows |