summaryrefslogtreecommitdiff
path: root/PC
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2015-11-02 03:37:02 +0000
committerMartin Panter <vadmium+py@gmail.com>2015-11-02 03:37:02 +0000
commitb362f75f6e5d8fe21d0cda740f9dcdf1976091f7 (patch)
tree1b7f020b0403e2378879af5c7e3cdeba27990dc2 /PC
parent8c6849bfe6ccc0e508e23df385b4ca61c7e00236 (diff)
downloadcpython-git-b362f75f6e5d8fe21d0cda740f9dcdf1976091f7.tar.gz
Issue #25523: Correct "a" article to "an" article
This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed to fix the grammar.
Diffstat (limited to 'PC')
-rw-r--r--PC/msvcrtmodule.c2
-rw-r--r--PC/os2emx/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/PC/msvcrtmodule.c b/PC/msvcrtmodule.c
index 057900d980..44c82e4594 100644
--- a/PC/msvcrtmodule.c
+++ b/PC/msvcrtmodule.c
@@ -148,7 +148,7 @@ msvcrt_get_osfhandle(PyObject *self, PyObject *args)
if (handle == -1)
return PyErr_SetFromErrno(PyExc_IOError);
- /* technically 'handle' is not a pointer, but a integer as
+ /* technically 'handle' is not a pointer, but an integer as
large as a pointer, Python's *VoidPtr interface is the
most appropriate here */
return PyLong_FromVoidPtr((void*)handle);
diff --git a/PC/os2emx/Makefile b/PC/os2emx/Makefile
index bf2e4862d6..613da647ac 100644
--- a/PC/os2emx/Makefile
+++ b/PC/os2emx/Makefile
@@ -102,7 +102,7 @@ ifeq ($(FIXED_PYHOME),yes)
CFLAGS+= -DPREFIX=$(DQUOTE)$(LIB_DIR)$(DQUOTE)
endif
-# We're using the OMF format since EMX's ld has a obscure bug
+# We're using the OMF format since EMX's ld has an obscure bug
# because of which it sometimes fails to build relocations
# in .data segment that point to another .data locations
# (except for the final linking if the .EXEs)