mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Issue #22241: Fix a compiler waring
This commit is contained in:
parent
6574a38327
commit
90fd895197
1 changed files with 1 additions and 1 deletions
|
|
@ -3267,7 +3267,7 @@ timezone_str(PyDateTime_TimeZone *self)
|
|||
Py_INCREF(self->name);
|
||||
return self->name;
|
||||
}
|
||||
if (self == PyDateTime_TimeZone_UTC ||
|
||||
if ((PyObject *)self == PyDateTime_TimeZone_UTC ||
|
||||
(GET_TD_DAYS(self->offset) == 0 &&
|
||||
GET_TD_SECONDS(self->offset) == 0 &&
|
||||
GET_TD_MICROSECONDS(self->offset) == 0))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue