Skip to content

Commit d8d0268

Browse files
committed
[Documentation] Didn't save a part of the topological sorting docstring!
1 parent 3e1d1a5 commit d8d0268

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

structures/graph.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ def topological_sort(self):
4646
4747
The algorithm looks at every node, and does a
4848
dfs for each node adjacent to the node and then adds
49-
the originating node to a stack. In the end, the stack
49+
the originating node to a stack once all adjacent
50+
nodes have been searched. In the end, the stack
5051
will be in order of a possible topological sort.
5152
5253
Topological sorts are not necessarily unique.

0 commit comments

Comments
 (0)