[Python-checkins] cpython: Fix typos. Reported by andportnoy on GitHub.
berker.peksag
python-checkins at python.org
Fri Apr 29 09:54:14 EDT 2016
https://hg.python.org/cpython/rev/39397748a5b0
changeset: 101184:39397748a5b0
user: Berker Peksag <berker.peksag at gmail.com>
date: Fri Apr 29 16:54:10 2016 +0300
summary:
Fix typos. Reported by andportnoy on GitHub.
files:
Modules/_randommodule.c | 2 +-
Objects/typeobject.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Modules/_randommodule.c b/Modules/_randommodule.c
--- a/Modules/_randommodule.c
+++ b/Modules/_randommodule.c
@@ -136,7 +136,7 @@
* optimize the division away at compile-time. 67108864 is 2**26. In
* effect, a contains 27 random bits shifted left 26, and b fills in the
* lower 26 bits of the 53-bit numerator.
- * The orginal code credited Isaku Wada for this algorithm, 2002/01/09.
+ * The original code credited Isaku Wada for this algorithm, 2002/01/09.
*/
static PyObject *
random_random(RandomObject *self)
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -3944,7 +3944,7 @@
}
/* If we found some slot attributes, pack them in a tuple along
- the orginal attribute dictionary. */
+ the original attribute dictionary. */
if (PyDict_Size(slots) > 0) {
PyObject *state2;
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list