Skip to content

Commit 32c2801

Browse files
committed
Apply autopep8 & minor comment changes
1 parent 9c18ce3 commit 32c2801

File tree

1 file changed

+3
-3
lines changed
  • w3/python/core/fundamental_interface

1 file changed

+3
-3
lines changed

w3/python/core/fundamental_interface/Node.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def attributes(self) -> _NamedNodeMap:
234234

235235
def _init_attributes(self,
236236
attributes: Optional[Iterable[_AnyNode]] = None) -> None:
237-
self._attributes: _NamedNodeMap = {} # TODO: Replace with real NamedNodeMap #19
237+
self._attributes: _NamedNodeMap = {} # TODO: Replace with real NamedNodeMap #19
238238
if attributes is None:
239239
return
240240
for attr in iter(attributes):
@@ -256,5 +256,5 @@ def _set_owner_document(self,
256256

257257

258258
_AnyNode = Node
259-
_NamedNodeMap = Dict[str, _AnyNode] # TODO: Implement NamedNodeMap #19
260-
_Document = Node # TODO: Implement Document #20
259+
_NamedNodeMap = Dict[str, _AnyNode] # TODO: Implement NamedNodeMap (#19)
260+
_Document = Node # TODO: Implement Document (#20)

0 commit comments

Comments
 (0)