Issue #9152: Removed dead code in datetime module

This commit is contained in:
Alexander Belopolsky 2010-07-04 16:28:08 +00:00
parent cc588c1d37
commit 33777d4058
1 changed files with 0 additions and 5 deletions

View File

@ -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;
}