Skip to content

Commit aa10911

Browse files
committed
Fixed incorrect function mention
1 parent 90d09de commit aa10911

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/xml.etree.elementtree.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ Functions
614614
``True`` if this is an element object or type.
615615

616616
Because ``iselement`` behaves identically for both objects and types, code
617-
requiring an object should check for this, see :func:`iselement`.
617+
requiring an object should check for this, see :func:`isinstance`.
618618

619619

620620
.. function:: iterparse(source, events=None, parser=None)

0 commit comments

Comments
 (0)