瀏覽代碼

Bugfix for Python 2.6.

tags/v0.2
Ben Kurtovic 12 年之前
父節點
當前提交
bca09e1687
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      mwparserfromhell/compat.py

+ 1
- 1
mwparserfromhell/compat.py 查看文件

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


Loading…
取消
儲存