mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Merged revisions 82533 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82533 | alexander.belopolsky | 2010-07-04 12:28:08 -0400 (Sun, 04 Jul 2010) | 1 line Issue #9152: Removed dead code in datetime module ........
This commit is contained in:
parent
874135b9ae
commit
775695ad03
1 changed files with 0 additions and 5 deletions
|
|
@ -957,11 +957,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