Przeglądaj źródła

Bugfix for Python 2.6.

tags/v0.2
Ben Kurtovic 11 lat temu
rodzic
commit
bca09e1687
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      mwparserfromhell/compat.py

+ 1
- 1
mwparserfromhell/compat.py Wyświetl plik

@@ -10,7 +10,7 @@ types are meant to be imported directly from within the parser's modules.
import sys
py3k = sys.version_info.major == 3
py3k = sys.version_info[0] == 3
if py3k:
bytes = bytes


Ładowanie…
Anuluj
Zapisz