Switch from xrange to range for Python 3 support
Switch from xrange to range for Python 3 support

Obviously range() is not ideal for Python 2, but usually max_iter will be
small enough that it shouldn't be a problem. If needed itertools.repeat can be
used.

chrisnatali/networkx,ionanrozenfeld/networkx,RMKD/networkx,jakevdp/networkx,jni/networkx,harlowja/networkx,aureooms/networkx,wasade/networkx,yashu-seth/networkx,jcurbelo/networkx,jfinkels/networkx,debsankha/networkx,nathania/networkx,harlowja/networkx,jakevdp/networkx,aureooms/networkx,kernc/networkx,chrisnatali/networkx,nathania/networkx,bzero/networkx,beni55/networkx,NvanAdrichem/networkx,sharifulgeo/networkx,ghdk/networkx,sharifulgeo/networkx,farhaanbukhsh/networkx,kernc/networkx,aureooms/networkx,Sixshaman/networkx,OrkoHunter/networkx,bzero/networkx,andnovar/networkx,jni/networkx,blublud/networkx,dhimmel/networkx,dmoliveira/networkx,chrisnatali/networkx,dhimmel/networkx,farhaanbukhsh/networkx,michaelpacer/networkx,cmtm/networkx,RMKD/networkx,kernc/networkx,farhaanbukhsh/networkx,jakevdp/networkx,dhimmel/networkx,bzero/networkx,SanketDG/networkx,tmilicic/networkx,debsankha/networkx,blublud/networkx,JamesClough/networkx,ghdk/networkx,sharifulgeo/networkx,ionanrozenfeld/networkx,ionanrozenfeld/networkx,ltiao/networkx,blublud/networkx,dmoliveira/networkx,ghdk/networkx,harlowja/networkx,nathania/networkx,goulu/networkx,jni/networkx,debsankha/networkx,dmoliveira/networkx,RMKD/networkx