Skip to content

Commit 306be43

Browse files
committed
[mypyc] Cleanup old version guard
1 parent 7fee02c commit 306be43

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

mypyc/lib-rt/function_wrapper.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,7 @@ static PyType_Spec CPyFunction_spec = {
156156
.name = "Function compiled with mypyc",
157157
.basicsize = sizeof(CPyFunction),
158158
.itemsize = 0,
159-
.flags =
160-
#if PY_VERSION_HEX >= 0x030A0000
161-
Py_TPFLAGS_IMMUTABLETYPE |
162-
#endif
159+
.flags = Py_TPFLAGS_IMMUTABLETYPE |
163160
#if PY_VERSION_HEX >= 0x030C0000
164161
Py_TPFLAGS_MANAGED_DICT |
165162
#endif

0 commit comments

Comments
 (0)