summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Misc/NEWS3
-rw-r--r--Objects/stringobject.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 2bf6be49fe..bfbcc5f832 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -126,6 +126,9 @@ Core
faster now. Thanks to Christian Tismer for pointing out the cause and
the nature of an effective cure (last December! better late than never).
+- repr() is much faster for large containers (dict, list, tuple).
+
+
Library
- A new function fnmatch.filter to filter lists of file names was added.
diff --git a/Objects/stringobject.c b/Objects/stringobject.c
index 24443d8323..9a88d2facc 100644
--- a/Objects/stringobject.c
+++ b/Objects/stringobject.c
@@ -1031,7 +1031,8 @@ string_join(PyStringObject *self, PyObject *args)
return res;
}
-PyObject *_PyString_Join(PyObject *sep, PyObject *x)
+PyObject *
+_PyString_Join(PyObject *sep, PyObject *x)
{
PyObject* args;
PyObject* result = NULL;