summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrevicko <subscriptions@drevicko.com>2014-07-01 11:18:44 +0200
committerysitu <ysitu@users.noreply.github.com>2014-08-06 18:52:41 -0400
commita24418de13812ac12e9d6377311c98fb67a77036 (patch)
tree07d23f43289829fe77bf3c7ad91f6213c17deeab
parenta53fef56cb83e051acc5b5752c468a355e75f37e (diff)
downloadnetworkx-a24418de13812ac12e9d6377311c98fb67a77036.tar.gz
corrected docstringnetworkx-1.9.1rc1
The docstring of connected_component_subgraphs() had one parameter (copy=True) listed as a Return.
-rw-r--r--networkx/algorithms/components/connected.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/networkx/algorithms/components/connected.py b/networkx/algorithms/components/connected.py
index 297bfdda..6824d68d 100644
--- a/networkx/algorithms/components/connected.py
+++ b/networkx/algorithms/components/connected.py
@@ -66,14 +66,14 @@ def connected_component_subgraphs(G, copy=True):
G : NetworkX graph
An undirected graph.
+ copy: bool (default=True)
+ If True make a copy of the graph attributes
+
Returns
-------
comp : generator
A generator of graphs, one for each connected component of G.
- copy: bool (default=True)
- If True make a copy of the graph attributes
-
Examples
--------
>>> G = nx.path_graph(4)