Skip to content

Commit

Permalink
Merge pull request networkx#1207 from drevicko/patch-1
Browse files Browse the repository at this point in the history
corrected docstring
  • Loading branch information
chebee7i committed Jul 1, 2014
2 parents dcbbfa4 + 740e690 commit 1cc106b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions networkx/algorithms/components/connected.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1cc106b

Please sign in to comment.