Procházet zdrojové kódy

Mixed up py3k and py2k.

tags/v0.3.3
Ben Kurtovic před 10 roky
rodič
revize
3d6079d831
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      mwparserfromhell/compat.py

+ 2
- 2
mwparserfromhell/compat.py Zobrazit soubor

@@ -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



Načítá se…
Zrušit
Uložit