summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-03-16 10:34:31 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-03-16 10:34:31 (GMT)
commitc2077b0d9b5bf99768c6f396bf7ae6c41b682465 (patch)
tree8a1dc9e646a99465f4f1c9961012d52ef183e653 /Python
parent6905de14fef619767693f8bd91996bc7e99ca9fe (diff)
downloadcpython-c2077b0d9b5bf99768c6f396bf7ae6c41b682465.zip
cpython-c2077b0d9b5bf99768c6f396bf7ae6c41b682465.tar.gz
cpython-c2077b0d9b5bf99768c6f396bf7ae6c41b682465.tar.bz2
#11565: Fix several typos. Patch by Piotr Kasprzyk.
Diffstat (limited to 'Python')
-rw-r--r--Python/ceval.c4
-rw-r--r--Python/pystate.c2
-rw-r--r--Python/thread.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 4c6c0ea..10dd3a1 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -27,7 +27,7 @@
typedef unsigned long long uint64;
-/* PowerPC suppport.
+/* PowerPC support.
"__ppc__" appears to be the preprocessor definition to detect on OS X, whereas
"__powerpc__" appears to be the correct one for Linux with GCC
*/
@@ -987,7 +987,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
if (--_Py_Ticker < 0) {
if (*next_instr == SETUP_FINALLY) {
/* Make the last opcode before
- a try: finally: block uninterruptable. */
+ a try: finally: block uninterruptible. */
goto fast_next_opcode;
}
_Py_Ticker = _Py_CheckInterval;
diff --git a/Python/pystate.c b/Python/pystate.c
index c0127be..ddb7d42 100644
--- a/Python/pystate.c
+++ b/Python/pystate.c
@@ -463,7 +463,7 @@ _PyThread_CurrentFrames(void)
/* for i in all interpreters:
* for t in all of i's thread states:
* if t's frame isn't NULL, map t's id to its frame
- * Because these lists can mutute even when the GIL is held, we
+ * Because these lists can mutate even when the GIL is held, we
* need to grab head_mutex for the duration.
*/
HEAD_LOCK();
diff --git a/Python/thread.c b/Python/thread.c
index 1578f82..dd359e9 100644
--- a/Python/thread.c
+++ b/Python/thread.c
@@ -46,7 +46,7 @@
#endif
/* Check if we're running on HP-UX and _SC_THREADS is defined. If so, then
- enough of the Posix threads package is implimented to support python
+ enough of the Posix threads package is implemented to support python
threads.
This is valid for HP-UX 11.23 running on an ia64 system. If needed, add