Skip to content

Commit ba8651e

Browse files
committed
fix typo
1 parent 52402c3 commit ba8651e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/pyexpat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1208,7 +1208,7 @@ set_maximum_amplification(xmlparseobject *self,
12081208
pyexpat_state *state = PyType_GetModuleState(cls);
12091209
// Note: Expat has no API to determine whether a parser is a root parser,
12101210
// 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
1211+
// amplifcation factors fail when a bad parser or an out-of-range factor
12121212
// is given without specifying which check failed, we check whether the
12131213
// factor is out-of-range to improve the error message. See also gh-90949.
12141214
const char *message = (isnan(max_factor) || max_factor < 1.0f)

0 commit comments

Comments
 (0)