summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2016-08-30 17:47:49 (GMT)
committerRaymond Hettinger <python@rcn.com>2016-08-30 17:47:49 (GMT)
commit15f44ab043b37c064d6891c7864205fed9fb0dd1 (patch)
tree726736587da36fbfebc1dfb12c4d9c14e6bf9a61 /Include
parent613debcf0a0409b49ad4e1ee63dfc73119029755 (diff)
downloadcpython-15f44ab043b37c064d6891c7864205fed9fb0dd1.zip
cpython-15f44ab043b37c064d6891c7864205fed9fb0dd1.tar.gz
cpython-15f44ab043b37c064d6891c7864205fed9fb0dd1.tar.bz2
Issue #27895: Spelling fixes (Contributed by Ville Skyttä).
Diffstat (limited to 'Include')
-rw-r--r--Include/abstract.h2
-rw-r--r--Include/bytesobject.h2
-rw-r--r--Include/pymath.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/Include/abstract.h b/Include/abstract.h
index f838b50..e728b12 100644
--- a/Include/abstract.h
+++ b/Include/abstract.h
@@ -487,7 +487,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
/* old buffer API
FIXME: usage of these should all be replaced in Python itself
but for backwards compatibility we will implement them.
- Their usage without a corresponding "unlock" mechansim
+ Their usage without a corresponding "unlock" mechanism
may create issues (but they would already be there). */
PyAPI_FUNC(int) PyObject_AsCharBuffer(PyObject *obj,
diff --git a/Include/bytesobject.h b/Include/bytesobject.h
index 4578069..11d8218 100644
--- a/Include/bytesobject.h
+++ b/Include/bytesobject.h
@@ -131,7 +131,7 @@ PyAPI_FUNC(Py_ssize_t) _PyBytes_InsertThousandsGrouping(char *buffer,
#define F_ZERO (1<<4)
#ifndef Py_LIMITED_API
-/* The _PyBytesWriter structure is big: it contains an embeded "stack buffer".
+/* The _PyBytesWriter structure is big: it contains an embedded "stack buffer".
A _PyBytesWriter variable must be declared at the end of variables in a
function to optimize the memory allocation on the stack. */
typedef struct {
diff --git a/Include/pymath.h b/Include/pymath.h
index 894362e..7216a09 100644
--- a/Include/pymath.h
+++ b/Include/pymath.h
@@ -37,7 +37,7 @@ extern double pow(double, double);
#endif /* __STDC__ */
#endif /* _MSC_VER */
-/* High precision defintion of pi and e (Euler)
+/* High precision definition of pi and e (Euler)
* The values are taken from libc6's math.h.
*/
#ifndef Py_MATH_PIl