From 0e686cbb7d3dcc216a051f3e4cc807983ead44f4 Mon Sep 17 00:00:00 2001 From: Florent Xicluna Date: Fri, 9 Dec 2011 23:41:19 +0100 Subject: Fix docstring typo. --- Modules/arraymodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index 31c4f39..641e283 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c @@ -2543,7 +2543,7 @@ PyDoc_STRVAR(arraytype_doc, \n\ Return a new array whose items are restricted by typecode, and\n\ initialized from the optional initializer value, which must be a list,\n\ -string. or iterable over elements of the appropriate type.\n\ +string or iterable over elements of the appropriate type.\n\ \n\ Arrays represent basic values and behave very much like lists, except\n\ the type of objects stored in them is constrained.\n\ -- cgit v0.12 From 5126df602cd4911c3578173b2c2686ddfaa59478 Mon Sep 17 00:00:00 2001 From: Florent Xicluna Date: Fri, 9 Dec 2011 23:41:21 +0100 Subject: Remove obsolete py3k comment. --- Python/_warnings.c | 1 - 1 file changed, 1 deletion(-) diff --git a/Python/_warnings.c b/Python/_warnings.c index 615a2d3..c12db44 100644 --- a/Python/_warnings.c +++ b/Python/_warnings.c @@ -888,7 +888,6 @@ create_filter(PyObject *category, const char *action) static PyObject * init_filters(void) { - /* Don't silence DeprecationWarning if -3 was used. */ PyObject *filters = PyList_New(5); unsigned int pos = 0; /* Post-incremented in each use. */ unsigned int x; -- cgit v0.12