We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3fb864 commit d819ab6Copy full SHA for d819ab6
Doc/library/xml.etree.elementtree.rst
@@ -611,8 +611,11 @@ Functions
611
612
.. function:: iselement(element)
613
614
- Check if an object appears to be a valid element object. *element* is an
615
- element instance. Return ``True`` if this is an element object.
+ Check if *element* appears to be a valid element object or type. Return
+ ``True`` if this is an element object or type.
616
+
617
+ Because ``iselement`` behaves identically for both objects and types, code
618
+ requiring an object should check for this, see :func:`iselement`.
619
620
621
.. function:: iterparse(source, events=None, parser=None)
0 commit comments