]> granicus.if.org Git - python/commitdiff
Reformat decl of new _PyString_Join. Add NEWS blurb about repr() speedup.
authorTim Peters <tim.peters@gmail.com>
Sat, 16 Jun 2001 05:42:57 +0000 (05:42 +0000)
committerTim Peters <tim.peters@gmail.com>
Sat, 16 Jun 2001 05:42:57 +0000 (05:42 +0000)
Misc/NEWS
Objects/stringobject.c

index 2bf6be49fed69270aa0cc691ee608348879af5b5..bfbcc5f832b5710a9b25725475e5cd2a58924b49 100644 (file)
--- 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.
index 24443d832319b7e2b14ad5a37e1865dff38f59df..9a88d2facc83fb548bae094a1fe3a35afa5509d1 100644 (file)
@@ -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;