diff --git a/w3/python/core/fundamental_interface/NodeList.py b/w3/python/core/fundamental_interface/NodeList.py index 4df6941..6af09ab 100644 --- a/w3/python/core/fundamental_interface/NodeList.py +++ b/w3/python/core/fundamental_interface/NodeList.py @@ -1,9 +1,7 @@ -from typing import Optional +from typing import Any, Optional -from w3.python.core.fundamental_interface.Node import Node - -_AnyNode = Node +_AnyNode = Any class NodeList(list): """Interface NodeList diff --git a/w3/python/core/fundamental_interface/NodeList_test.py b/w3/python/core/fundamental_interface/NodeList_test.py index d19801e..4b63fa2 100644 --- a/w3/python/core/fundamental_interface/NodeList_test.py +++ b/w3/python/core/fundamental_interface/NodeList_test.py @@ -1,7 +1,6 @@ from typing import Iterator import unittest -from w3.python.core.fundamental_interface.DOMException import DOMException from w3.python.core.fundamental_interface.Node import Node from w3.python.core.fundamental_interface.Node import NodeType from w3.python.core.fundamental_interface.NodeList import NodeList