Skip to content

Commit 457b99f

Browse files
committed
Don't raise MemoryError in parse_transition_rule()
1 parent 5d51fa9 commit 457b99f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Modules/_zoneinfo.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1910,7 +1910,6 @@ parse_transition_rule(const char **p, TransitionRuleType **out)
19101910

19111911
DayRule *rv = PyMem_Calloc(1, sizeof(DayRule));
19121912
if (rv == NULL) {
1913-
PyErr_NoMemory();
19141913
return -1;
19151914
}
19161915

0 commit comments

Comments
 (0)