Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 52e155e

Browse files
committed
Reformat decl of new _PyString_Join. Add NEWS blurb about repr() speedup.
1 parent a725959 commit 52e155e

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@ Core
126126
faster now. Thanks to Christian Tismer for pointing out the cause and
127127
the nature of an effective cure (last December! better late than never).
128128

129+
- repr() is much faster for large containers (dict, list, tuple).
130+
131+
129132
Library
130133

131134
- A new function fnmatch.filter to filter lists of file names was added.

Objects/stringobject.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,8 @@ string_join(PyStringObject *self, PyObject *args)
10311031
return res;
10321032
}
10331033

1034-
PyObject *_PyString_Join(PyObject *sep, PyObject *x)
1034+
PyObject *
1035+
_PyString_Join(PyObject *sep, PyObject *x)
10351036
{
10361037
PyObject* args;
10371038
PyObject* result = NULL;

0 commit comments

Comments
 (0)