@flake8ext
def check_python3_xrange(logical_line):
 if re.search('\\bxrange\\s*\\(', logical_line):
  (yield (0, 'N325: Do not use xrange. Use range, or six.moves.range for large loops.'))

@ flake8ext def check_python3_xrange ( logical_line ) : if re . search ( '\\bxrange\\s*\\(' , logical_line ) : ( yield ( 0 , 'N325: Do not use xrange. Use range, or six.moves.range for large loops.' ) )
n325 - do not use xrange .