Original ticket https://networkx.lanl.gov/trac/ticket/560
Reported 2011-05-29 by @dschult, assigned to @hagberg.
A number of places in the code use the idiom:
'''
for k,v in list( some_dict.items() )…
Here is an update to the subgraph function to handle a list of edges. If edges are not specified, then it reverts to the original functionality (returning an induced subgraph).
I also fix a doctes…