summaryrefslogtreecommitdiffstats
path: root/Objects/stringlib/string_format.h
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-10-14 07:04:07 (GMT)
committerGeorg Brandl <georg@python.org>2010-10-14 07:04:07 (GMT)
commit66c221e993bf7c5979145dbbe365238f2d70064f (patch)
tree75394c24f6343e932125b9a35a9fbea401fe4812 /Objects/stringlib/string_format.h
parent268e4d4cf36ad79e71438fd864160892b335388d (diff)
downloadcpython-66c221e993bf7c5979145dbbe365238f2d70064f.zip
cpython-66c221e993bf7c5979145dbbe365238f2d70064f.tar.gz
cpython-66c221e993bf7c5979145dbbe365238f2d70064f.tar.bz2
#9418: first step of moving private string methods to _string module.
Diffstat (limited to 'Objects/stringlib/string_format.h')
-rw-r--r--Objects/stringlib/string_format.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/stringlib/string_format.h b/Objects/stringlib/string_format.h
index bc70e97..126c870 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;