diff options
author | Justin Cai <justincai.lps@gmail.com> | 2021-05-20 02:30:58 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-20 04:30:58 -0400 |
commit | debfe114314f0829dbf3d0d9b489172c8c60bed0 (patch) | |
tree | 92facf3617d8a5622bd3468e69ffb057adacbb8e | |
parent | dbe1d74db811ed13cc7d53ce571c7bbfefa8de4a (diff) | |
download | networkx-debfe114314f0829dbf3d0d9b489172c8c60bed0.tar.gz |
Fix to_undirected doc typo (#4821)
-rw-r--r-- | networkx/classes/multidigraph.py | 2 | ||||
-rw-r--r-- | networkx/classes/multigraph.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/networkx/classes/multidigraph.py b/networkx/classes/multidigraph.py index 13f23cb2..b1594385 100644 --- a/networkx/classes/multidigraph.py +++ b/networkx/classes/multidigraph.py @@ -796,7 +796,7 @@ class MultiDiGraph(MultiGraph, DiGraph): graph attributes which attempts to completely copy all of the data and references. - This is in contrast to the similar D=MultiiGraph(G) which + This is in contrast to the similar D=MultiDiGraph(G) which returns a shallow copy of the data. See the Python copy module for more information on shallow diff --git a/networkx/classes/multigraph.py b/networkx/classes/multigraph.py index 1779a616..fc35e699 100644 --- a/networkx/classes/multigraph.py +++ b/networkx/classes/multigraph.py @@ -1043,7 +1043,7 @@ class MultiGraph(Graph): See the Python copy module for more information on shallow and deep copies, https://docs.python.org/3/library/copy.html. - Warning: If you have subclassed MultiiGraph to use dict-like + Warning: If you have subclassed MultiGraph to use dict-like objects in the data structure, those changes do not transfer to the MultiGraph created by this method. |