]> granicus.if.org Git - python/commitdiff
Fix spelling mistakes. Bugfix candidates.
authorNeal Norwitz <nnorwitz@gmail.com>
Tue, 29 Jan 2002 00:53:41 +0000 (00:53 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Tue, 29 Jan 2002 00:53:41 +0000 (00:53 +0000)
Modules/gcmodule.c
Objects/rangeobject.c
Python/compile.c
Python/sysmodule.c

index b607d38b406311f273e0c96a383e74d1fb1250ab..d883b91fe23e2f260c6aaa4772bbae9e13a1e59a 100644 (file)
@@ -615,7 +615,7 @@ gc_get_debug(PyObject *self, PyObject *args)
 }
 
 static char gc_set_thresh__doc__[] =
-"set_threshold(threshold0, [threhold1, threshold2]) -> None\n"
+"set_threshold(threshold0, [threshold1, threshold2]) -> None\n"
 "\n"
 "Sets the collection thresholds.  Setting threshold0 to zero disables\n"
 "collection.\n"
index 5095e5254bd67b491a41fff1ef80aa2ce6bf9c51..da791fa4060e21ca40d9a6f115b7c33e03d0b29e 100644 (file)
@@ -190,7 +190,7 @@ range_compare(rangeobject *r1, rangeobject *r2)
 {
 
         if (PyErr_Warn(PyExc_DeprecationWarning,
-                      "xrange object comparision is deprecated; "
+                      "xrange object comparison is deprecated; "
                       "convert to list instead") < 0)
                return -1;
 
index 918083263dc92079d597d4d993d035b6e235fe35..4c68a15df6854e39c0cf133c2e5dbe264b97a83f 100644 (file)
@@ -61,7 +61,7 @@ int Py_OptimizeFlag = 0;
 "name '%.400s' is used prior to global declaration"
 
 #define LOCAL_GLOBAL \
-"name '%.400s' is a function paramter and declared global"
+"name '%.400s' is a function parameter and declared global"
 
 #define LATE_FUTURE \
 "from __future__ imports must occur at the beginning of the file"
index cdc728c402f9efbbbb3b9a011cc2926037022a33..90338dea35979d636c41bf0861622db0ca476416 100644 (file)
@@ -410,9 +410,9 @@ static char setdlopenflags_doc[] =
 "setdlopenflags(n) -> None\n\
 \n\
 Set the flags that will be used for dlopen() calls. Among other\n\
-things, this will enable a lazy resolving of symbols when imporing\n\
+things, this will enable a lazy resolving of symbols when importing\n\
 a module, if called as sys.setdlopenflags(0)\n\
-To share symols across extension modules, call as\n\
+To share symbols across extension modules, call as\n\
 sys.setdlopenflags(dl.RTLD_NOW|dl.RTLD_GLOBAL)";
 
 static PyObject *
@@ -673,7 +673,7 @@ Static objects:\n\
 \n\
 maxint -- the largest supported integer (the smallest is -maxint-1)\n\
 maxunicode -- the largest supported character\n\
-builtin_module_names -- tuple of module names built into this intepreter\n\
+builtin_module_names -- tuple of module names built into this interpreter\n\
 version -- the version of this interpreter as a string\n\
 version_info -- version information as a tuple\n\
 hexversion -- version information encoded as a single integer\n\