mirror of https://github.com/python/cpython
Issue #9152: Removed dead code in datetime module
This commit is contained in:
parent
cc588c1d37
commit
33777d4058
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue