@@ -251,10 +251,10 @@ well-known XML vulnerabilities.
251
251
near the start of parsing even with benign files in practice. As such, the
252
252
upper bound must be carefully chosen so to avoid false positives.
253
253
254
- An :exc: `ExpatError ` is raised if this method is called by a non-root
255
- parser or if *max_factor * is outside the valid range. The corresponding
256
- :attr: `~. ExpatError.lineno ` and :attr: `~. ExpatError.column ` should not be
257
- used as they will have no special meaning.
254
+ An :exc: `ExpatError ` is raised if this method is called on a non-root
255
+ parser or if *max_factor * is outside the valid range.
256
+ The corresponding :attr: `~ExpatError.lineno ` and :attr: `~ExpatError.offset `
257
+ should not be used as they may have no special meaning.
258
258
259
259
.. note ::
260
260
@@ -271,9 +271,9 @@ well-known XML vulnerabilities.
271
271
By default, parsers objects have an allocation activation threshold of 64 MiB,
272
272
or equivalently 67,108,864 bytes.
273
273
274
- An :exc: `ExpatError ` is raised if this method is called by a non-root parser.
275
- The corresponding :attr: `~. ExpatError.lineno ` and :attr: `~. ExpatError.column `
276
- should not be used as they will have no special meaning.
274
+ An :exc: `ExpatError ` is raised if this method is called on a non-root parser.
275
+ The corresponding :attr: `~ExpatError.lineno ` and :attr: `~ExpatError.offset `
276
+ should not be used as they may have no special meaning.
277
277
278
278
.. versionadded :: next
279
279
0 commit comments