Skip to content

Commit 67b5221

Browse files
committed
Add an exclemation mark to suppress distracting links
Related: https://devguide.python.org/documentation/style-guide/#links Idea by @picnixz
1 parent 32d51e3 commit 67b5221

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

Doc/library/pyexpat.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -225,10 +225,10 @@ XMLParser Objects
225225

226226
.. note::
227227

228-
:meth:`SetReparseDeferralEnabled`
228+
:meth:`!SetReparseDeferralEnabled`
229229
has been backported to some prior releases of CPython as a security fix.
230230
Check for availability of
231-
:meth:`SetReparseDeferralEnabled`
231+
:meth:`!SetReparseDeferralEnabled`
232232
using :func:`hasattr` if used in code running across a variety of Python
233233
versions.
234234

@@ -268,10 +268,10 @@ against some common XML vulnerabilities.
268268

269269
.. note::
270270

271-
:meth:`SetBillionLaughsAttackProtectionActivationThreshold`
271+
:meth:`!SetBillionLaughsAttackProtectionActivationThreshold`
272272
has been backported to some prior releases of CPython as a security fix.
273273
Check for availability of
274-
:meth:`SetBillionLaughsAttackProtectionActivationThreshold`
274+
:meth:`!SetBillionLaughsAttackProtectionActivationThreshold`
275275
using :func:`hasattr` if used in code running across a variety of Python
276276
versions.
277277

@@ -309,10 +309,10 @@ against some common XML vulnerabilities.
309309

310310
.. note::
311311

312-
:meth:`SetBillionLaughsAttackProtectionMaximumAmplification`
312+
:meth:`!SetBillionLaughsAttackProtectionMaximumAmplification`
313313
has been backported to some prior releases of CPython as a security fix.
314314
Check for availability of
315-
:meth:`SetBillionLaughsAttackProtectionMaximumAmplification`
315+
:meth:`!SetBillionLaughsAttackProtectionMaximumAmplification`
316316
using :func:`hasattr` if used in code running across a variety of Python
317317
versions.
318318

@@ -333,10 +333,10 @@ against some common XML vulnerabilities.
333333

334334
.. note::
335335

336-
:meth:`SetAllocTrackerActivationThreshold`
336+
:meth:`!SetAllocTrackerActivationThreshold`
337337
has been backported to some prior releases of CPython as a security fix.
338338
Check for availability of
339-
:meth:`SetAllocTrackerActivationThreshold`
339+
:meth:`!SetAllocTrackerActivationThreshold`
340340
using :func:`hasattr` if used in code running across a variety of Python
341341
versions.
342342

@@ -373,10 +373,10 @@ against some common XML vulnerabilities.
373373

374374
.. note::
375375

376-
:meth:`SetAllocTrackerMaximumAmplification`
376+
:meth:`!SetAllocTrackerMaximumAmplification`
377377
has been backported to some prior releases of CPython as a security fix.
378378
Check for availability of
379-
:meth:`SetAllocTrackerMaximumAmplification`
379+
:meth:`!SetAllocTrackerMaximumAmplification`
380380
using :func:`hasattr` if used in code running across a variety of Python
381381
versions.
382382

Doc/library/xml.etree.elementtree.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1400,10 +1400,10 @@ XMLParser Objects
14001400

14011401
.. note::
14021402

1403-
:meth:`flush`
1403+
:meth:`!flush`
14041404
has been backported to some prior releases of CPython as a security
14051405
fix. Check for availability of
1406-
:meth:`flush`
1406+
:meth:`!flush`
14071407
using :func:`hasattr` if used in code running across a variety of
14081408
Python versions.
14091409

@@ -1482,10 +1482,10 @@ XMLPullParser Objects
14821482

14831483
.. note::
14841484

1485-
:meth:`flush`
1485+
:meth:`!flush`
14861486
has been backported to some prior releases of CPython as a security
14871487
fix. Check for availability of
1488-
:meth:`flush`
1488+
:meth:`!flush`
14891489
using :func:`hasattr` if used in code running across a variety of
14901490
Python versions.
14911491

0 commit comments

Comments
 (0)