8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a07e84 commit 398c9c5Copy full SHA for 398c9c5
schemascii/utils.py
@@ -99,7 +99,10 @@ def flood_walk(
99
connections in the directions allowed by start_dirs and directions, and
100
return the list of reached points.
101
102
- Also updates the set seen for points that were walked into.
+ seen is the set of points that are already accounted for and should not be
103
+ walked into; the function updates the set seen for points that were
104
+ walked into. Thus, if this function is called twice with the same
105
+ arguments, the second call will always return nothing.
106
"""
107
points: list[complex] = []
108
stack: list[tuple[complex, list[complex]]] = [
0 commit comments