summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-05-26 05:28:50 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-05-26 05:28:50 (GMT)
commitb1d867f14965e2369d31a3fcdab5bca34b4d81b4 (patch)
treee12a80fb726447f7e1c09839aae24fd9277258ce /Python
parent5db0b3396e664affee09c0cb2094fdafc94acd94 (diff)
downloadcpython-b1d867f14965e2369d31a3fcdab5bca34b4d81b4.zip
cpython-b1d867f14965e2369d31a3fcdab5bca34b4d81b4.tar.gz
cpython-b1d867f14965e2369d31a3fcdab5bca34b4d81b4.tar.bz2
Issue #27076: Doc, comment and test function name spelling fixes
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
Diffstat (limited to 'Python')
-rw-r--r--Python/peephole.c2
-rw-r--r--Python/pythonrun.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Python/peephole.c b/Python/peephole.c
index e3bc004..11f6f88 100644
--- a/Python/peephole.c
+++ b/Python/peephole.c
@@ -289,7 +289,7 @@ markblocks(unsigned char *code, Py_ssize_t len)
allows us to avoid overflow and sign issues. Likewise, it bails when
the lineno table has complex encoding for gaps >= 255.
- Optimizations are restricted to simple transformations occuring within a
+ Optimizations are restricted to simple transformations occurring within a
single basic block. All transformations keep the code size the same or
smaller. For those that reduce size, the gaps are initially filled with
NOPs. Later those NOPs are removed and the jump addresses retargeted in
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 9b5f62d..7b85268 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -1919,7 +1919,7 @@ PyOS_setsig(int sig, PyOS_sighandler_t handler)
#endif
}
-/* Deprecated C API functions still provided for binary compatiblity */
+/* Deprecated C API functions still provided for binary compatibility */
#undef PyParser_SimpleParseFile
PyAPI_FUNC(node *)