diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-01-29 00:53:41 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-01-29 00:53:41 (GMT) |
commit | 2a47c0fa23a3b84d767ee846f93f98aee7e2f5c3 (patch) | |
tree | 523699ec8462b44cfe31c02754164f6534716855 | |
parent | 4fd5a06580c2b03f0252553e4024f168ea054353 (diff) | |
download | cpython-2a47c0fa23a3b84d767ee846f93f98aee7e2f5c3.zip cpython-2a47c0fa23a3b84d767ee846f93f98aee7e2f5c3.tar.gz cpython-2a47c0fa23a3b84d767ee846f93f98aee7e2f5c3.tar.bz2 |
Fix spelling mistakes. Bugfix candidates.
-rw-r--r-- | Modules/gcmodule.c | 2 | ||||
-rw-r--r-- | Objects/rangeobject.c | 2 | ||||
-rw-r--r-- | Python/compile.c | 2 | ||||
-rw-r--r-- | Python/sysmodule.c | 6 |
4 files changed, 6 insertions, 6 deletions
diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c index b607d38..d883b91 100644 --- a/Modules/gcmodule.c +++ b/Modules/gcmodule.c @@ -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" diff --git a/Objects/rangeobject.c b/Objects/rangeobject.c index 5095e52..da791fa 100644 --- a/Objects/rangeobject.c +++ b/Objects/rangeobject.c @@ -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; diff --git a/Python/compile.c b/Python/compile.c index 9180832..4c68a15 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -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" diff --git a/Python/sysmodule.c b/Python/sysmodule.c index cdc728c..90338de 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -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\ |