From c3d9508ff22ece9a96892b628dd5813e2fb0cd80 Mon Sep 17 00:00:00 2001 From: Leo Arias Date: Sat, 3 Feb 2018 18:36:10 -0600 Subject: bpo-32746: Fix multiple typos (GH-5144) Fix typos found by codespell in docs, docstrings, and comments. --- Objects/obmalloc.c | 2 +- Objects/tupleobject.c | 2 +- Objects/typeobject.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Objects') diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c index 0b8816cc54..0e485d6211 100644 --- a/Objects/obmalloc.c +++ b/Objects/obmalloc.c @@ -2469,7 +2469,7 @@ pool_is_in_list(const poolp target, poolp list) * checks. * * Return 0 if the memory debug hooks are not installed or no statistics was - * writen into out, return 1 otherwise. + * written into out, return 1 otherwise. */ int _PyObject_DebugMallocStats(FILE *out) diff --git a/Objects/tupleobject.c b/Objects/tupleobject.c index 3a60946125..39d43dd04a 100644 --- a/Objects/tupleobject.c +++ b/Objects/tupleobject.c @@ -335,7 +335,7 @@ error: /* The addend 82520, was selected from the range(0, 1000000) for generating the greatest number of prime multipliers for tuples - upto length eight: + up to length eight: 1082527, 1165049, 1082531, 1165057, 1247581, 1330103, 1082533, 1330111, 1412633, 1165069, 1247599, 1495177, 1577699 diff --git a/Objects/typeobject.c b/Objects/typeobject.c index a22173878e..1dd534866b 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -5112,7 +5112,7 @@ PyType_Ready(PyTypeObject *type) /* PyType_Ready is the closest thing we have to a choke point * for type objects, so is the best place I can think of to try * to get type objects into the doubly-linked list of all objects. - * Still, not all type objects go thru PyType_Ready. + * Still, not all type objects go through PyType_Ready. */ _Py_AddToAllObjects((PyObject *)type, 0); #endif -- cgit v1.2.1