summaryrefslogtreecommitdiff
path: root/networkx/algorithms/regular.py
diff options
context:
space:
mode:
Diffstat (limited to 'networkx/algorithms/regular.py')
-rw-r--r--networkx/algorithms/regular.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/networkx/algorithms/regular.py b/networkx/algorithms/regular.py
index 5b302e2a..c51c48fe 100644
--- a/networkx/algorithms/regular.py
+++ b/networkx/algorithms/regular.py
@@ -68,7 +68,7 @@ def k_factor(G, k, matching_weight="weight"):
G : NetworkX graph
Undirected graph
- weight: string, optional (default='weight')
+ matching_weight: string, optional (default='weight')
Edge data key corresponding to the edge weight.
Used for finding the max-weighted perfect matching.
If key not found, uses 1 as weight.