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)
Py_DECREF(result);
result = NULL;
}
else if (!PyUnicode_Check(result)) {
PyObject *temp = PyUnicode_FromObject(result);
Py_DECREF(result);
result = temp;
}
}
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