diff Objects/stringlib/string_format.h @ 65291:fd044cda97d8

#9418: first step of moving private string methods to _string module.
author Georg Brandl <georg@python.org>
date Thu, 14 Oct 2010 07:04:07 +0000
parents d3797e9dfd2c
children 05eed9f0ce01
line wrap: on
line diff
--- a/Objects/stringlib/string_format.h	Thu Oct 14 06:59:45 2010 +0000
+++ b/Objects/stringlib/string_format.h	Thu Oct 14 07:04:07 2010 +0000
@@ -1180,7 +1180,7 @@
    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 @@
    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;