Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6f9b010

Browse files
committed
Fix a couple of typos in code comments
1 parent 9920e29 commit 6f9b010

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Lib/test/string_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ def test_replace_overflow(self):
685685

686686

687687
class CommonTest(BaseTest):
688-
# This testcase contains test that can be used in all
688+
# This testcase contains tests that can be used in all
689689
# stringlike classes. Currently this is str, unicode
690690
# UserString and the string module.
691691

Lib/test/test_zipfile64.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# from test_zipfile
44
from test import support
55

6-
# XXX(nnorwitz): disable this test by looking for extra largfile resource
6+
# XXX(nnorwitz): disable this test by looking for extralargefile resource,
77
# which doesn't exist. This test takes over 30 minutes to run in general
88
# and requires more disk space than most of the buildbots.
99
support.requires(

Python/fileutils.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ _Py_attribute_data_to_stat(BY_HANDLE_FILE_INFORMATION *info, ULONG reparse_tag,
599599
600600
On Windows, use GetFileType() and GetFileInformationByHandle() which support
601601
files larger than 2 GB. fstat() may fail with EOVERFLOW on files larger
602-
than 2 GB because the file size type is an signed 32-bit integer: see issue
602+
than 2 GB because the file size type is a signed 32-bit integer: see issue
603603
#23152.
604604
605605
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)
669669
670670
On Windows, use GetFileType() and GetFileInformationByHandle() which support
671671
files larger than 2 GB. fstat() may fail with EOVERFLOW on files larger
672-
than 2 GB because the file size type is an signed 32-bit integer: see issue
672+
than 2 GB because the file size type is a signed 32-bit integer: see issue
673673
#23152.
674674
675675
Raise an exception and return -1 on error. On Windows, set the last Windows

0 commit comments

Comments
 (0)