[Python-checkins] benchmarks: Tweak import order to follow style of other modules.
brett.cannon
python-checkins at python.org
Sat Sep 15 00:12:11 CEST 2012
http://hg.python.org/benchmarks/rev/55f65f914a65
changeset: 168:55f65f914a65
user: Brett Cannon <brett at python.org>
date: Fri Sep 14 10:52:12 2012 -0400
summary:
Tweak import order to follow style of other modules.
files:
performance/bm_fannkuch.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/performance/bm_fannkuch.py b/performance/bm_fannkuch.py
--- a/performance/bm_fannkuch.py
+++ b/performance/bm_fannkuch.py
@@ -1,15 +1,16 @@
-# -*- coding: utf-8 -*-
# The Computer Language Benchmarks Game
# http://shootout.alioth.debian.org/
#
# contributed by Sokolov Yura
# modified by Tupteq
-from compat import xrange
import optparse
import time
import util
+from compat import xrange
+
+
def fannkuch(n):
count = list(range(1, n+1))
max_flips = 0
--
Repository URL: http://hg.python.org/benchmarks
More information about the Python-checkins
mailing list