]> granicus.if.org Git - python/commitdiff
Fix typos. Reported by andportnoy on GitHub.
authorBerker Peksag <berker.peksag@gmail.com>
Fri, 29 Apr 2016 13:54:10 +0000 (16:54 +0300)
committerBerker Peksag <berker.peksag@gmail.com>
Fri, 29 Apr 2016 13:54:10 +0000 (16:54 +0300)
Modules/_randommodule.c
Objects/typeobject.c

index a85d905c5241af8c95dba18976a95b44eeef4eb0..fd6b230e85abd25b79f44f7542374a19798f5437 100644 (file)
@@ -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)
index 2086e9d2433554e9dd017f062ab4f173e70c0e34..9e7b4e64830c56f8752b9de4e6b2491794df4edf 100644 (file)
@@ -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;