Browse Source

Mixed up py3k and py2k.

tags/v0.3.3
Ben Kurtovic 11 years ago
parent
commit
3d6079d831
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      mwparserfromhell/compat.py

+ 2
- 2
mwparserfromhell/compat.py View File

@@ -16,14 +16,14 @@ py32 = py3k and sys.version_info.minor == 2
if py3k: if py3k:
bytes = bytes bytes = bytes
str = str str = str
range = xrange
range = range
maxsize = sys.maxsize maxsize = sys.maxsize
import html.entities as htmlentities import html.entities as htmlentities


else: else:
bytes = str bytes = str
str = unicode str = unicode
range = range
range = xrange
maxsize = sys.maxint maxsize = sys.maxint
import htmlentitydefs as htmlentities import htmlentitydefs as htmlentities




Loading…
Cancel
Save