diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-01-13 08:58:08 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-01-13 08:58:08 (GMT) |
commit | cbfdee3e54c012231a848aea69b63474cbf1b100 (patch) | |
tree | dc823bb82dd27da5896f24b4a0f4afe4f306e206 | |
parent | f2c5484f9ee9c964454b2d4a176170042e3beea5 (diff) | |
download | cpython-cbfdee3e54c012231a848aea69b63474cbf1b100.zip cpython-cbfdee3e54c012231a848aea69b63474cbf1b100.tar.gz cpython-cbfdee3e54c012231a848aea69b63474cbf1b100.tar.bz2 |
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)
........
-rw-r--r-- | Objects/unicodeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 3d49db1..d8d9c35 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -6386,10 +6386,10 @@ PyObject *replace(PyUnicodeObject *self, goto nothing; if (str1->length == str2->length) { + Py_ssize_t i; /* same length */ if (str1->length == 0) goto nothing; - Py_ssize_t i; if (str1->length == 1) { /* replace characters */ Py_UNICODE u1, u2; |