summaryrefslogtreecommitdiff
path: root/networkx/relabel.py
diff options
context:
space:
mode:
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 7385878e..a8931aa8 100644
--- a/networkx/relabel.py
+++ b/networkx/relabel.py
@@ -166,7 +166,7 @@ def _relabel_copy(G, mapping):
def convert_node_labels_to_integers(G, first_label=0, ordering="default",
label_attribute=None):
- """Return a copy of the graph G with the nodes relabeled using
+ """Returns a copy of the graph G with the nodes relabeled using
consecutive integers.
Parameters