Merlijn van Deen 11 anni fa
parent
commit
cdc0ab4e71
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      mwparserfromhell/compat.py

+ 2
- 2
mwparserfromhell/compat.py Vedi File

@@ -10,8 +10,8 @@ types are meant to be imported directly from within the parser's modules.

import sys

py3k = sys.version_info.major == 3
py32 = py3k and sys.version_info.minor == 2
py3k = sys.version_info[0] == 3
py32 = py3k and sys.version_info[1] == 2

if py3k:
bytes = bytes


Caricamento…
Annulla
Salva