summaryrefslogtreecommitdiff
path: root/networkx/relabel.py
diff options
context:
space:
mode:
authorStefan van der Walt <stefanv@berkeley.edu>2020-10-29 11:38:06 -0700
committerGitHub <noreply@github.com>2020-10-29 11:38:06 -0700
commitd4701d142ac8fc7b15d16100f589819d1d9d502a (patch)
tree384637006e291bb5f719b62ede8ff6b8e3a10e28 /networkx/relabel.py
parentef1c828560856c2dfd85c7892829202fa88a9970 (diff)
downloadnetworkx-d4701d142ac8fc7b15d16100f589819d1d9d502a.tar.gz
Improve relabel coverage, tweak docstrings (#4299)
* Add test for unfeasible relabeling * Slightly clarify docstrings
Diffstat (limited to 'networkx/relabel.py')
-rw-r--r--networkx/relabel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/networkx/relabel.py b/networkx/relabel.py
index 424a8289..068b1653 100644
--- a/networkx/relabel.py
+++ b/networkx/relabel.py
@@ -4,7 +4,7 @@ __all__ = ["convert_node_labels_to_integers", "relabel_nodes"]
def relabel_nodes(G, mapping, copy=True):
- """Relabel the nodes of the graph G.
+ """Relabel the nodes of the graph G according to a given mapping.
Parameters
----------