summaryrefslogtreecommitdiff
path: root/Include
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-08-27 07:24:17 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2007-08-27 07:24:17 +0000
commit8a4eb298e25580241feb190cb3c3cc492fa65369 (patch)
treed1e8579cb49983322a29fbf4e345d6ba5fdc8d73 /Include
parent2bad9702930f620b61c8bc3cec3d4cd811df3693 (diff)
downloadcpython-git-8a4eb298e25580241feb190cb3c3cc492fa65369.tar.gz
Fix refleaks in test_unicode and test_string related to the new format code.
Stop polluting namespace.
Diffstat (limited to 'Include')
-rw-r--r--Include/unicodeobject.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
index bc94a53e06..8184f3af77 100644
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -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
}