#NEWLINE# def _bigrange( * args ) : #NEWLINE# #INDENT# if ( len ( args ) == 1 ) : #NEWLINE# #INDENT# start = 0 #NEWLINE# stop = args [ 0 ] #NEWLINE# step = 1 #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( len ( args ) == 2 ) : #NEWLINE# #INDENT# ( start , stop ) = args #NEWLINE# step = 1 #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( len ( args ) == 3 ) : #NEWLINE# #INDENT# ( start , stop , step ) = args #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise ValueError ( 'Too many args for _bigrange' ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# i = start #NEWLINE# while True : #NEWLINE# #INDENT# ( yield i ) #NEWLINE# i += step #NEWLINE# if ( ( step < 0 ) and ( i <= stop ) ) : #NEWLINE# #INDENT# break #NEWLINE# #UNINDENT# if ( ( step > 0 ) and ( i >= stop ) ) : #NEWLINE# #INDENT# break