networkx/networkx — pull request #897 by dschult (2013-07-11 18:57:23+00:00)
Title: Format cycles from simple_cycles w/o last node

Cycles in networkx are represented by a list of nodes. But
simple_cycles() repeated the last node of the cycle. This removes
that repetition to bring simple_cycles in line with other cycle
routines. Related discussion in #889, #890.

Also corrected some doctests and updated tests for this change.