@@ -225,10 +225,8 @@ XMLParser Objects
225225
226226 :meth: `!SetReparseDeferralEnabled `
227227 has been backported to some prior releases of CPython as a security fix.
228- Check for availability of
229- :meth: `!SetReparseDeferralEnabled `
230- using :func: `hasattr ` if used in code running across a variety of Python
231- versions.
228+ Check for availability using :func: `hasattr ` if used in code running
229+ across a variety of Python versions.
232230
233231 .. versionadded :: 3.13
234232
@@ -261,10 +259,8 @@ against some common XML vulnerabilities.
261259
262260 :meth: `!SetBillionLaughsAttackProtectionActivationThreshold `
263261 has been backported to some prior releases of CPython as a security fix.
264- Check for availability of
265- :meth: `!SetBillionLaughsAttackProtectionActivationThreshold `
266- using :func: `hasattr ` if used in code running across a variety of Python
267- versions.
262+ Check for availability using :func: `hasattr ` if used in code running
263+ across a variety of Python versions.
268264
269265 .. note ::
270266
@@ -299,10 +295,8 @@ against some common XML vulnerabilities.
299295
300296 :meth: `!SetBillionLaughsAttackProtectionMaximumAmplification `
301297 has been backported to some prior releases of CPython as a security fix.
302- Check for availability of
303- :meth: `!SetBillionLaughsAttackProtectionMaximumAmplification `
304- using :func: `hasattr ` if used in code running across a variety of Python
305- versions.
298+ Check for availability using :func: `hasattr ` if used in code running
299+ across a variety of Python versions.
306300
307301 .. note ::
308302
@@ -327,10 +321,8 @@ against some common XML vulnerabilities.
327321
328322 :meth: `!SetAllocTrackerActivationThreshold `
329323 has been backported to some prior releases of CPython as a security fix.
330- Check for availability of
331- :meth: `!SetAllocTrackerActivationThreshold `
332- using :func: `hasattr ` if used in code running across a variety of Python
333- versions.
324+ Check for availability using :func: `hasattr ` if used in code running
325+ across a variety of Python versions.
334326
335327 .. versionadded :: next
336328
@@ -359,10 +351,8 @@ against some common XML vulnerabilities.
359351
360352 :meth: `!SetAllocTrackerMaximumAmplification `
361353 has been backported to some prior releases of CPython as a security fix.
362- Check for availability of
363- :meth: `!SetAllocTrackerMaximumAmplification `
364- using :func: `hasattr ` if used in code running across a variety of Python
365- versions.
354+ Check for availability using :func: `hasattr ` if used in code running
355+ across a variety of Python versions.
366356
367357 .. note ::
368358
0 commit comments