Skip to content

Commit fbd5f0f

Browse files
Fix comment too
1 parent 02bcc3a commit fbd5f0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_datetimemodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1668,7 +1668,7 @@ tzinfo_from_isoformat_results(int rv, int tzoffset, int tz_useconds)
16681668
{
16691669
PyObject *tzinfo;
16701670
if (rv == 1) {
1671-
// Create a timezone from offset in seconds (0 returns UTC)
1671+
// Create a timezone from the offset (a zero offset returns UTC)
16721672
if (tzoffset == 0 && tz_useconds == 0) {
16731673
return Py_NewRef(CONST_UTC(NO_STATE));
16741674
}

0 commit comments

Comments
 (0)