From 0e686cbb7d3dcc216a051f3e4cc807983ead44f4 Mon Sep 17 00:00:00 2001 From: Florent Xicluna Date: Fri, 9 Dec 2011 23:41:19 +0100 Subject: [PATCH 1/2] 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 31c4f391647..641e283ed12 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\ From 5126df602cd4911c3578173b2c2686ddfaa59478 Mon Sep 17 00:00:00 2001 From: Florent Xicluna Date: Fri, 9 Dec 2011 23:41:21 +0100 Subject: [PATCH 2/2] Remove obsolete py3k comment. --- Python/_warnings.c | 1 - 1 file changed, 1 deletion(-) diff --git a/Python/_warnings.c b/Python/_warnings.c index 615a2d3217a..c12db44d19e 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;