@@ -166,7 +166,7 @@ builtin_apply(PyObject *self, PyObject *args)
166166 PyObject * t = NULL , * retval = NULL ;
167167
168168 if (PyErr_WarnPy3k ("apply() not supported in 3.x; "
169- "use func(*args, **kwargs)" , 1 ) < 0 )
169+ "use func(*args, **kwargs)" , 1 ) < 0 )
170170 return NULL ;
171171
172172 if (!PyArg_UnpackTuple (args , "apply" , 1 , 3 , & func , & alist , & kwdict ))
@@ -224,7 +224,7 @@ static PyObject *
224224builtin_callable (PyObject * self , PyObject * v )
225225{
226226 if (PyErr_WarnPy3k ("callable() not supported in 3.x; "
227- "use hasattr(o, '__call__')" , 1 ) < 0 )
227+ "use hasattr(o, '__call__')" , 1 ) < 0 )
228228 return NULL ;
229229 return PyBool_FromLong ((long )PyCallable_Check (v ));
230230}
@@ -704,7 +704,7 @@ builtin_execfile(PyObject *self, PyObject *args)
704704 int exists ;
705705
706706 if (PyErr_WarnPy3k ("execfile() not supported in 3.x; use exec()" ,
707- 1 ) < 0 )
707+ 1 ) < 0 )
708708 return NULL ;
709709
710710 if (!PyArg_ParseTuple (args , "s|O!O:execfile" ,
@@ -931,7 +931,7 @@ builtin_map(PyObject *self, PyObject *args)
931931
932932 if (func == Py_None ) {
933933 if (PyErr_WarnPy3k ("map(None, ...) not supported in 3.x; "
934- "use list(...)" , 1 ) < 0 )
934+ "use list(...)" , 1 ) < 0 )
935935 return NULL ;
936936 if (n == 1 ) {
937937 /* map(None, S) is the same as list(S). */
@@ -1959,7 +1959,7 @@ builtin_reduce(PyObject *self, PyObject *args)
19591959 PyObject * seq , * func , * result = NULL , * it ;
19601960
19611961 if (PyErr_WarnPy3k ("reduce() not supported in 3.x; "
1962- "use functools.reduce()" , 1 ) < 0 )
1962+ "use functools.reduce()" , 1 ) < 0 )
19631963 return NULL ;
19641964
19651965 if (!PyArg_UnpackTuple (args , "reduce" , 2 , 3 , & func , & seq , & result ))
@@ -2035,7 +2035,7 @@ static PyObject *
20352035builtin_reload (PyObject * self , PyObject * v )
20362036{
20372037 if (PyErr_WarnPy3k ("In 3.x, reload() is renamed to imp.reload()" ,
2038- 1 ) < 0 )
2038+ 1 ) < 0 )
20392039 return NULL ;
20402040
20412041 return PyImport_ReloadModule (v );
0 commit comments