]> granicus.if.org Git - python/commitdiff
Fix a couple of typos in code comments
authorMartin Panter <vadmium+py@gmail.com>
Thu, 17 Dec 2015 10:18:28 +0000 (10:18 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Thu, 17 Dec 2015 10:18:28 +0000 (10:18 +0000)
Lib/test/string_tests.py
Lib/test/test_zipfile64.py
Python/fileutils.c

index e086994b0b64ed951040948e5eff5a51e4ad2b1a..7605f0dd198ca716d9d3888dd06ac946c21d0a59 100644 (file)
@@ -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.
 
index 7dea8a32120a629fc21de34c505f651f0df699ce..b9e8e286677eb92038780396e7c26d327db9cd9a 100644 (file)
@@ -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(
index 079918c4a302e1735f0da6946842ad02768c6ee7..06d632a28e6236ba557289246a5e2a894184c807 100644 (file)
@@ -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