Use range instead of xrange

This commit is contained in:
Serge S. Koval 2013-04-14 00:00:27 +03:00
parent fd72866469
commit f716564dfe
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ def wrap(fn):
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: