summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
Diffstat (limited to 'doc/reference')
-rw-r--r--doc/reference/introduction.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/reference/introduction.rst b/doc/reference/introduction.rst
index 6dd8cb2f..64182195 100644
--- a/doc/reference/introduction.rst
+++ b/doc/reference/introduction.rst
@@ -317,7 +317,7 @@ edges $(A, B)$ and $(B, C)$.
>>> G.add_edge('A', 'B')
>>> G.add_edge('B', 'C')
>>> print(G.adj)
- {'A': {'B': {}}, 'C': {'B': {}}, 'B': {'A': {}, 'C': {}}}
+ {'A': {'B': {}}, 'B': {'A': {}, 'C': {}}, 'C': {'B': {}}}
The data structure gets morphed slightly for each base graph class.
For DiGraph two dict-of-dicts-of-dicts structures are provided, one