summaryrefslogtreecommitdiff
path: root/networkx/algorithms/bipartite/basic.py
diff options
context:
space:
mode:
authorAndrea Tomassilli <44986518+atomassi@users.noreply.github.com>2021-01-09 21:39:05 +0000
committerGitHub <noreply@github.com>2021-01-09 13:39:05 -0800
commitf6db7247c69a25def6e0d01054e174eb074feadd (patch)
treee9ac1d173e0e6aaffbf9f73675834d55eb5f3d2f /networkx/algorithms/bipartite/basic.py
parent75e57baf39dcc3fb60c4231a60f22ae8ef5fdd05 (diff)
downloadnetworkx-f6db7247c69a25def6e0d01054e174eb074feadd.tar.gz
Fix docstrings and remove unused variables (#4501)
Co-authored-by: Dan Schult <dschult@colgate.edu> Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
Diffstat (limited to 'networkx/algorithms/bipartite/basic.py')
-rw-r--r--networkx/algorithms/bipartite/basic.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/networkx/algorithms/bipartite/basic.py b/networkx/algorithms/bipartite/basic.py
index 7dbbda71..66a253d4 100644
--- a/networkx/algorithms/bipartite/basic.py
+++ b/networkx/algorithms/bipartite/basic.py
@@ -210,7 +210,7 @@ def density(B, nodes):
Parameters
----------
- G : NetworkX graph
+ B : NetworkX graph
nodes: list or container
Nodes in one node set of the bipartite graph.
@@ -262,7 +262,7 @@ def degrees(B, nodes, weight=None):
Parameters
----------
- G : NetworkX graph
+ B : NetworkX graph
nodes: list or container
Nodes in one node set of the bipartite graph.