Fix refleaks in test_unicode and test_string related to the new format code.

Stop polluting namespace.
This commit is contained in:
Neal Norwitz 2007-08-27 07:24:17 +00:00
parent 2bad970293
commit 8a4eb298e2
4 changed files with 27 additions and 38 deletions

View file

@ -1437,10 +1437,8 @@ PyAPI_FUNC(Py_UNICODE*) Py_UNICODE_strchr(
const Py_UNICODE *s, Py_UNICODE c
);
PyObject *
_unicodeformatter_iterator(PyObject *str);
PyObject *
_unicodeformatter_field_name_split(PyObject *field_name);
PyObject *_PyUnicode_FormatterIterator(PyObject *str);
PyObject *_PyUnicode_FormatterFieldNameSplit(PyObject *field_name);
#ifdef __cplusplus
}