title: Networkx neighbor set not printing
body: <p>I have a little problem with my networkx code.
  I am trying to find all the neighbors from a node in a graph, but....</p>
  <pre><code>neighbor = Graph.neighbors(element)
  print(neighbor)
  </code></pre>
  <p>outputs:</p>
  <pre><code>&lt;dict_keyiterator object at 0x00764BA0&gt;
  </code></pre>
  <p>Instead of all the neighbors I am supposed to get... A friend of mine, who is using an older version of networkx does not get this error, his code is exactly the same and works perfectly.
  <br><br>
  Can anyone help me? Downgrading my networkx is not an option.
  <br><br></p>
  <h3>Edit:</h3>
  <p>This is my complete code</p>
  <pre><code>Graph = nx.read_graphml('macbethcorrected.graphml')    
  actors = nx.nodes(Graph)
  
  for actor in actors:
      degree = Graph.degree(actor)
      neighbor = Graph.neighbors(actor)
      print(&quot;{}, {}, {}&quot;.format(actor, neighbor, degree))
  </code></pre>
  <p>This is the graph I am using:
  <a href="http://politicalmashup.nl/new/uploads/2013/09/macbethcorrected.graphml" rel="noreferrer">http://politicalmashup.nl/new/uploads/2013/09/macbethcorrected.graphml</a></p>