Skip to content

Commit b08ed58

Browse files
Fix typos in graph DFS docs
Signed-off-by: Matthias Wende <[email protected]>
1 parent 9953eb4 commit b08ed58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/frequenz/sdk/microgrid/_graph.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def dfs(
276276
"""
277277
Search for components that fulfill the condition in the Graph.
278278
279-
DFS is used for searching the graph. The graph travarsal is stopped
279+
DFS is used for searching the graph. The graph traversal is stopped
280280
once a component fulfills the condition.
281281
282282
Args:
@@ -285,7 +285,7 @@ def dfs(
285285
condition: The condition function to check for.
286286
287287
Returns:
288-
A set of component ids where the coresponding components fulfill
288+
A set of component ids where the corresponding components fulfill
289289
the condition function.
290290
"""
291291

0 commit comments

Comments
 (0)