Commit 33777d40 authored by Alexander Belopolsky's avatar Alexander Belopolsky

Issue #9152: Removed dead code in datetime module

parent cc588c1d
...@@ -1023,11 +1023,6 @@ call_tzname(PyObject *tzinfo, PyObject *tzinfoarg) ...@@ -1023,11 +1023,6 @@ call_tzname(PyObject *tzinfo, PyObject *tzinfoarg)
Py_DECREF(result); Py_DECREF(result);
result = NULL; result = NULL;
} }
else if (!PyUnicode_Check(result)) {
PyObject *temp = PyUnicode_FromObject(result);
Py_DECREF(result);
result = temp;
}
} }
return result; return result;
} }
......
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