Commit 0ac70c0e authored by Berker Peksag's avatar Berker Peksag

Fix typos. Reported by andportnoy on GitHub.

parent 3a31cca4
...@@ -136,7 +136,7 @@ genrand_int32(RandomObject *self) ...@@ -136,7 +136,7 @@ genrand_int32(RandomObject *self)
* optimize the division away at compile-time. 67108864 is 2**26. In * 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 * effect, a contains 27 random bits shifted left 26, and b fills in the
* lower 26 bits of the 53-bit numerator. * 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 * static PyObject *
random_random(RandomObject *self) random_random(RandomObject *self)
......
...@@ -3944,7 +3944,7 @@ _PyObject_GetState(PyObject *obj, int required) ...@@ -3944,7 +3944,7 @@ _PyObject_GetState(PyObject *obj, int required)
} }
/* If we found some slot attributes, pack them in a tuple along /* 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) { if (PyDict_Size(slots) > 0) {
PyObject *state2; PyObject *state2;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment