From 3d6079d831d6c958b364b04d0341437aa9f0ac28 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Sat, 30 Nov 2013 22:13:14 -0500 Subject: [PATCH] Mixed up py3k and py2k. --- mwparserfromhell/compat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mwparserfromhell/compat.py b/mwparserfromhell/compat.py index 9c8ce8c..620fd15 100644 --- a/mwparserfromhell/compat.py +++ b/mwparserfromhell/compat.py @@ -16,14 +16,14 @@ py32 = py3k and sys.version_info.minor == 2 if py3k: bytes = bytes str = str - range = xrange + range = range maxsize = sys.maxsize import html.entities as htmlentities else: bytes = str str = unicode - range = range + range = xrange maxsize = sys.maxint import htmlentitydefs as htmlentities