Skip to content

Commit 7fa7f46

Browse files
gh-151943: Do not claim that nodeName can be None
The table above gives the value for every node type, and none of them is None.
1 parent d67e631 commit 7fa7f46

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Doc/library/xml.dom.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,6 @@ Inserting a child of a not allowed type raises :exc:`HierarchyRequestErr`.
389389
You can always get the information you would get here from another
390390
property such as the :attr:`~Element.tagName` property for elements or the
391391
:attr:`~Attr.name` property for attributes.
392-
For all node types, the value of this attribute is a string or ``None``.
393392
This is a read-only attribute.
394393

395394

0 commit comments

Comments
 (0)