@@ -248,8 +248,7 @@ events in the input document:
248
248
249
249
The *name * parameter contains the raw XML 1.0 name of the element type as a
250
250
string and the *attrs * parameter holds an object of the
251
- :class: `~xml.sax.xmlreader.Attributes `
252
- interface (see :ref: `attributes-objects `) containing the attributes of
251
+ :ref: `Attributes <attributes-objects >` interface containing the attributes of
253
252
the element. The object passed as *attrs * may be re-used by the parser; holding
254
253
on to a reference to it is not a reliable way to keep a copy of the attributes.
255
254
To keep a copy of the attributes, use the :meth: `copy ` method of the *attrs *
@@ -271,8 +270,7 @@ events in the input document:
271
270
The *name * parameter contains the name of the element type as a ``(uri,
272
271
localname) `` tuple, the *qname * parameter contains the raw XML 1.0 name used in
273
272
the source document, and the *attrs * parameter holds an instance of the
274
- :class: `~xml.sax.xmlreader.AttributesNS ` interface (see
275
- :ref: `attributes-ns-objects `)
273
+ :ref: `AttributesNS <attributes-ns-objects >` interface
276
274
containing the attributes of the element. If no namespace is associated with
277
275
the element, the *uri * component of *name * will be ``None ``. The object passed
278
276
as *attrs * may be re-used by the parser; holding on to a reference to it is not
0 commit comments