summaryrefslogtreecommitdiff
path: root/networkx/algorithms/connectivity/kcomponents.py
diff options
context:
space:
mode:
Diffstat (limited to 'networkx/algorithms/connectivity/kcomponents.py')
-rw-r--r--networkx/algorithms/connectivity/kcomponents.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/networkx/algorithms/connectivity/kcomponents.py b/networkx/algorithms/connectivity/kcomponents.py
index 39adca58..5c7f441b 100644
--- a/networkx/algorithms/connectivity/kcomponents.py
+++ b/networkx/algorithms/connectivity/kcomponents.py
@@ -104,7 +104,7 @@ def k_components(G, flow_func=None):
"""
# Dictionary with connectivity level (k) as keys and a list of
# sets of nodes that form a k-component as values. Note that
- # k-compoents can overlap (but only k - 1 nodes).
+ # k-components can overlap (but only k - 1 nodes).
k_components = defaultdict(list)
# Define default flow function
if flow_func is None: