Skip to content

Commit 39fe8ad

Browse files
committed
typo in comments
1 parent caf8fb9 commit 39fe8ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

udapi/core/bundle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,6 @@ def nodes(self):
122122
"""An iterator over all nodes (excluding empty nodes) in all trees in this bundle."""
123123
for tree in self:
124124
# tree.descendants is slightly slower than tree._descendants,
125-
# but it seems safer, see the comment in udapi.core.block.Block.process.process_tree().
125+
# but it seems safer, see the comment in udapi.core.block.Block.process_tree().
126126
for node in tree.descendants:
127127
yield node

udapi/core/document.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def nodes(self):
9696
for bundle in self:
9797
for tree in bundle:
9898
# tree.descendants is slightly slower than tree._descendants,
99-
# but it seems safer, see the comment in udapi.core.block.Block.process.process_tree().
99+
# but it seems safer, see the comment in udapi.core.block.Block.process_tree().
100100
for node in tree.descendants:
101101
yield node
102102

0 commit comments

Comments
 (0)