Skip to content

Commit 398c9c5

Browse files
docstring
1 parent 7a07e84 commit 398c9c5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

schemascii/utils.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,10 @@ def flood_walk(
9999
connections in the directions allowed by start_dirs and directions, and
100100
return the list of reached points.
101101
102-
Also updates the set seen for points that were walked into.
102+
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.
103106
"""
104107
points: list[complex] = []
105108
stack: list[tuple[complex, list[complex]]] = [

0 commit comments

Comments
 (0)