We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52402c3 commit ba8651eCopy full SHA for ba8651e
Modules/pyexpat.c
@@ -1208,7 +1208,7 @@ set_maximum_amplification(xmlparseobject *self,
1208
pyexpat_state *state = PyType_GetModuleState(cls);
1209
// Note: Expat has no API to determine whether a parser is a root parser,
1210
// and since the Expat functions for defining the various maximum allowed
1211
- // amplifcation factors fail when a bad parser or a out-of-range factor
+ // amplifcation factors fail when a bad parser or an out-of-range factor
1212
// is given without specifying which check failed, we check whether the
1213
// factor is out-of-range to improve the error message. See also gh-90949.
1214
const char *message = (isnan(max_factor) || max_factor < 1.0f)
0 commit comments