From 66c221e993bf7c5979145dbbe365238f2d70064f Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Thu, 14 Oct 2010 07:04:07 +0000 Subject: #9418: first step of moving private string methods to _string module. --- Objects/stringlib/string_format.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Objects/stringlib/string_format.h') diff --git a/Objects/stringlib/string_format.h b/Objects/stringlib/string_format.h index bc70e97be4..126c870113 100644 --- a/Objects/stringlib/string_format.h +++ b/Objects/stringlib/string_format.h @@ -1180,7 +1180,7 @@ static PyTypeObject PyFormatterIter_Type = { describing the parsed elements. It's a wrapper around stringlib/string_format.h's MarkupIterator */ static PyObject * -formatter_parser(STRINGLIB_OBJECT *self) +formatter_parser(PyObject *ignored, STRINGLIB_OBJECT *self) { formatteriterobject *it; @@ -1315,7 +1315,7 @@ static PyTypeObject PyFieldNameIter_Type = { field_name_split. The iterator it returns is a FieldNameIterator */ static PyObject * -formatter_field_name_split(STRINGLIB_OBJECT *self) +formatter_field_name_split(PyObject *ignored, STRINGLIB_OBJECT *self) { SubString first; Py_ssize_t first_idx; -- cgit v1.2.1