Skip to content

Commit a489029

Browse files
authored
Add docstring to attached_complete_graphs
1 parent 83e7d67 commit a489029

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

axelrod/graph.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ def complete_graph(size, loops=True, directed=False):
148148

149149

150150
def attached_complete_graphs(length, loops=True, directed=False):
151+
"""Creates two complete undirected graphs of size `length`
152+
attached by a single edge."""
151153
edges = []
152154
# Two complete graphs
153155
for cluster in range(2):

0 commit comments

Comments
 (0)