mirror of
https://github.com/python/cpython.git
synced 2025-11-12 23:16:47 +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);
|
Py_INCREF(self->name);
|
||||||
return self->name;
|
return self->name;
|
||||||
}
|
}
|
||||||
if (self == PyDateTime_TimeZone_UTC ||
|
if ((PyObject *)self == PyDateTime_TimeZone_UTC ||
|
||||||
(GET_TD_DAYS(self->offset) == 0 &&
|
(GET_TD_DAYS(self->offset) == 0 &&
|
||||||
GET_TD_SECONDS(self->offset) == 0 &&
|
GET_TD_SECONDS(self->offset) == 0 &&
|
||||||
GET_TD_MICROSECONDS(self->offset) == 0))
|
GET_TD_MICROSECONDS(self->offset) == 0))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue