Skip to content

Commit

Permalink
Minor comments issue (networkx#3787)
Browse files Browse the repository at this point in the history
Adding some consistence as comments split by object type while code splits by graph.
  • Loading branch information
salym authored and dschult committed Jan 21, 2020
1 parent 15e17c0 commit 9dc1d89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions networkx/algorithms/operators/binary.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ def label(x):

# add nodes
R.add_nodes_from(G)
R.add_edges_from(G_edges)
# add edges
R.add_nodes_from(H)
# add edges
R.add_edges_from(G_edges)
R.add_edges_from(H_edges)
# add node attributes
for n in G:
Expand Down

0 comments on commit 9dc1d89

Please sign in to comment.