Skip to content

Commit cbfdee3

Browse files
committed
Merged revisions 77463 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r77463 | antoine.pitrou | 2010-01-13 09:55:20 +0100 (mer., 13 janv. 2010) | 3 lines Fix Windows build (re r77461) ........
1 parent f2c5484 commit cbfdee3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Objects/unicodeobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6386,10 +6386,10 @@ PyObject *replace(PyUnicodeObject *self,
63866386
goto nothing;
63876387

63886388
if (str1->length == str2->length) {
6389+
Py_ssize_t i;
63896390
/* same length */
63906391
if (str1->length == 0)
63916392
goto nothing;
6392-
Py_ssize_t i;
63936393
if (str1->length == 1) {
63946394
/* replace characters */
63956395
Py_UNICODE u1, u2;

0 commit comments

Comments
 (0)