mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #9152: Removed dead code in datetime module
This commit is contained in:
parent
cc588c1d37
commit
33777d4058
1 changed files with 0 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue