Skip to content

Commit 197dfa7

Browse files
authored
Update pyexpat.c
1 parent 501ef0e commit 197dfa7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Modules/pyexpat.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1218,7 +1218,7 @@ set_maximum_amplification(xmlparseobject *self,
12181218
}
12191219
#endif
12201220

1221-
#if XML_COMBINED_VERSION >= 20402
1221+
#if XML_COMBINED_VERSION >= 20400
12221222
/*[clinic input]
12231223
@permit_long_summary
12241224
@permit_long_docstring_body
@@ -1246,7 +1246,7 @@ pyexpat_xmlparser_SetBillionLaughsAttackProtectionActivationThreshold_impl(xmlpa
12461246
}
12471247
#endif
12481248

1249-
#if XML_COMBINED_VERSION >= 20402
1249+
#if XML_COMBINED_VERSION >= 20400
12501250
/*[clinic input]
12511251
@permit_long_summary
12521252
@permit_long_docstring_body
@@ -2382,6 +2382,7 @@ pyexpat_exec(PyObject *mod)
23822382
capi->SetAllocTrackerActivationThreshold = NULL;
23832383
capi->SetAllocTrackerMaximumAmplification = NULL;
23842384
#endif
2385+
23852386
/* export using capsule */
23862387
PyObject *capi_object = PyCapsule_New(capi, PyExpat_CAPSULE_NAME,
23872388
pyexpat_capsule_destructor);

0 commit comments

Comments
 (0)