Kaydet (Commit) 5c767c2f authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Fix Windows build (re r77461)

üst 6467213b
......@@ -5791,10 +5791,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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment