Permalink
Browse files

Use range instead of xrange

  • Loading branch information...
1 parent fd72866 commit f716564dfef9564e301f446f9c657f6cb4ccc066 @mrjoes mrjoes committed Apr 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 tornado/stack_context.py
View
2 tornado/stack_context.py
@@ -259,7 +259,7 @@ def wrapped(*args, **kwargs):
exc = _handle_exception(top, exc)
else:
# Otherwise take shorter path and run stack contexts in reverse order
- for n in xrange(last_ctx - 1, -1, -1):
+ for n in range(last_ctx - 1, -1, -1):
c = stack[n]
try:

0 comments on commit f716564

Please sign in to comment.