File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -615,7 +615,7 @@ gc_get_debug(PyObject *self, PyObject *args)
615615}
616616
617617static char gc_set_thresh__doc__ [] =
618- "set_threshold(threshold0, [threhold1 , threshold2]) -> None\n"
618+ "set_threshold(threshold0, [threshold1 , threshold2]) -> None\n"
619619"\n"
620620"Sets the collection thresholds. Setting threshold0 to zero disables\n"
621621"collection.\n"
Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ range_compare(rangeobject *r1, rangeobject *r2)
190190{
191191
192192 if (PyErr_Warn (PyExc_DeprecationWarning ,
193- "xrange object comparision is deprecated; "
193+ "xrange object comparison is deprecated; "
194194 "convert to list instead" ) < 0 )
195195 return -1 ;
196196
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ int Py_OptimizeFlag = 0;
6161"name '%.400s' is used prior to global declaration"
6262
6363#define LOCAL_GLOBAL \
64- "name '%.400s' is a function paramter and declared global"
64+ "name '%.400s' is a function parameter and declared global"
6565
6666#define LATE_FUTURE \
6767"from __future__ imports must occur at the beginning of the file"
Original file line number Diff line number Diff line change @@ -410,9 +410,9 @@ static char setdlopenflags_doc[] =
410410"setdlopenflags(n) -> None\n\
411411\n\
412412Set the flags that will be used for dlopen() calls. Among other\n\
413- things, this will enable a lazy resolving of symbols when imporing \n\
413+ things, this will enable a lazy resolving of symbols when importing \n\
414414a module, if called as sys.setdlopenflags(0)\n\
415- To share symols across extension modules, call as\n\
415+ To share symbols across extension modules, call as\n\
416416sys.setdlopenflags(dl.RTLD_NOW|dl.RTLD_GLOBAL)" ;
417417
418418static PyObject *
@@ -673,7 +673,7 @@ Static objects:\n\
673673\n\
674674maxint -- the largest supported integer (the smallest is -maxint-1)\n\
675675maxunicode -- the largest supported character\n\
676- builtin_module_names -- tuple of module names built into this intepreter \n\
676+ builtin_module_names -- tuple of module names built into this interpreter \n\
677677version -- the version of this interpreter as a string\n\
678678version_info -- version information as a tuple\n\
679679hexversion -- version information encoded as a single integer\n\
You can’t perform that action at this time.
0 commit comments