File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -253,7 +253,7 @@ well-known XML vulnerabilities.
253
253
254
254
An :exc: `ExpatError ` is raised if this method is called by a non-root
255
255
parser or if *max_factor * is outside the valid range. The corresponding
256
- :attr: `~ExpatError.lineno ` and :attr: `~ExpatError.column ` should not be
256
+ :attr: `~. ExpatError.lineno ` and :attr: `~. ExpatError.column ` should not be
257
257
used as they will have no special meaning.
258
258
259
259
.. note ::
@@ -272,7 +272,7 @@ well-known XML vulnerabilities.
272
272
or equivalently 67,108,864 bytes.
273
273
274
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 `
275
+ The corresponding :attr: `~. ExpatError.lineno ` and :attr: `~. ExpatError.column `
276
276
should not be used as they will have no special meaning.
277
277
278
278
.. versionadded :: next
Original file line number Diff line number Diff line change @@ -545,7 +545,7 @@ xml.parsers.expat
545
545
546
546
* Add :func: `~xml.parsers.expat.xmlparser.SetAllocTrackerMaximumAmplification `
547
547
and :func: `~xml.parsers.expat.xmlparser.SetAllocTrackerActivationThreshold `
548
- to :class: ` ~xml.parsers.expat. xmlparser ` objects to prevent use of
548
+ to :ref: ` xmlparser < xmlparser-objects > ` objects to prevent use of
549
549
disproportional amounts of dynamic memory from within an Expat parser.
550
550
(Contributed by Bénédikt Tran in :gh: `90949 `.)
551
551
Original file line number Diff line number Diff line change 1
1
Add :func: `~xml.parsers.expat.xmlparser.SetAllocTrackerMaximumAmplification `
2
2
and :func: `~xml.parsers.expat.xmlparser.SetAllocTrackerActivationThreshold `
3
- to :class: ` ~xml.parsers.expat. xmlparser ` objects to prevent use of
3
+ to :ref: ` xmlparser < xmlparser-objects > ` objects to prevent use of
4
4
disproportional amounts of dynamic memory from within an Expat parser. Patch
5
5
by Bénédikt Tran.
You can’t perform that action at this time.
0 commit comments