summaryrefslogtreecommitdiff
path: root/networkx/algorithms/approximation/kcomponents.py
diff options
context:
space:
mode:
Diffstat (limited to 'networkx/algorithms/approximation/kcomponents.py')
-rw-r--r--networkx/algorithms/approximation/kcomponents.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/networkx/algorithms/approximation/kcomponents.py b/networkx/algorithms/approximation/kcomponents.py
index f7b8a49d..49acea1d 100644
--- a/networkx/algorithms/approximation/kcomponents.py
+++ b/networkx/algorithms/approximation/kcomponents.py
@@ -312,7 +312,7 @@ class _AntiGraph(nx.Graph):
(n in nbrs and nbrs[n].get(weight, 1)))
return d_iter()
- def adjacency_iter(self):
+ def adjacency(self):
"""Return an iterator of (node, adjacency set) tuples for all nodes
in the dense graph.