diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2016-04-29 13:54:10 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2016-04-29 13:54:10 (GMT) |
commit | 0ac70c0e9052db0c8ca6da517019c9c8f3f5d30d (patch) | |
tree | 5a092839c376d9584895ed63cfba96eeb1b33681 | |
parent | 3a31cca4abdfdc4d623deb7e8c4be58b5ca936eb (diff) | |
download | cpython-0ac70c0e9052db0c8ca6da517019c9c8f3f5d30d.zip cpython-0ac70c0e9052db0c8ca6da517019c9c8f3f5d30d.tar.gz cpython-0ac70c0e9052db0c8ca6da517019c9c8f3f5d30d.tar.bz2 |
Fix typos. Reported by andportnoy on GitHub.
-rw-r--r-- | Modules/_randommodule.c | 2 | ||||
-rw-r--r-- | Objects/typeobject.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_randommodule.c b/Modules/_randommodule.c index a85d905..fd6b230 100644 --- a/Modules/_randommodule.c +++ b/Modules/_randommodule.c @@ -136,7 +136,7 @@ genrand_int32(RandomObject *self) * 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 index 2086e9d..9e7b4e6 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -3944,7 +3944,7 @@ _PyObject_GetState(PyObject *obj, int required) } /* 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; |