mirror of
https://github.com/python/cpython.git
synced 2025-09-07 17:32:01 +00:00
Fix a couple of typos in code comments
This commit is contained in:
parent
9920e293c3
commit
6f9b010242
3 changed files with 4 additions and 4 deletions
|
@ -685,7 +685,7 @@ class BaseTest:
|
||||||
|
|
||||||
|
|
||||||
class CommonTest(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
|
# stringlike classes. Currently this is str, unicode
|
||||||
# UserString and the string module.
|
# UserString and the string module.
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# from test_zipfile
|
# from test_zipfile
|
||||||
from test import support
|
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
|
# which doesn't exist. This test takes over 30 minutes to run in general
|
||||||
# and requires more disk space than most of the buildbots.
|
# and requires more disk space than most of the buildbots.
|
||||||
support.requires(
|
support.requires(
|
||||||
|
|
|
@ -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
|
On Windows, use GetFileType() and GetFileInformationByHandle() which support
|
||||||
files larger than 2 GB. fstat() may fail with EOVERFLOW on files larger
|
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.
|
#23152.
|
||||||
|
|
||||||
On Windows, set the last Windows error and return nonzero on error. On
|
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
|
On Windows, use GetFileType() and GetFileInformationByHandle() which support
|
||||||
files larger than 2 GB. fstat() may fail with EOVERFLOW on files larger
|
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.
|
#23152.
|
||||||
|
|
||||||
Raise an exception and return -1 on error. On Windows, set the last Windows
|
Raise an exception and return -1 on error. On Windows, set the last Windows
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue