Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5ad7750

Browse files
committed
Change arguments' name
Updated methods: - `Node._insert_child_node()` - `Node._get_index_of_child_node()`
1 parent 6357440 commit 5ad7750

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎w3/python/core/interface.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,10 @@ def _get_child_node(self, index: c_ulong) -> Optional[Node]:
146146
return None
147147
return self.parentNode.childNodes.item(index)
148148

149-
def _insert_child_node(self, index: c_ulong, node: Node) -> Node:
149+
def _insert_child_node(self, index: c_ulong, new_child: Node) -> Node:
150150
raise NotImplementedError()
151151

152-
def _get_index_of_child_node(self, childNode: Node) -> c_ulong:
152+
def _get_index_of_child_node(self, child: Node) -> c_ulong:
153153
raise NotImplementedError()
154154

155155
def _get_firstChild(self) -> Optional[Node]:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /