little bit of python2.5 compatibility

This commit is contained in:
David Halter
2012-07-13 02:17:33 +02:00
parent 354838bb86
commit 364405166b
2 changed files with 3 additions and 2 deletions

View File

@@ -2,7 +2,8 @@ import re
import sys import sys
import os import os
import types import types
import io if sys.hexversion >= 0x03000000:
import io
import inspect import inspect
import debug import debug

View File

@@ -28,7 +28,7 @@ Ignored statements:
- print (no use for it, just slows down) - print (no use for it, just slows down)
- exec (dangerous - not controllable) - exec (dangerous - not controllable)
""" """
from _compatibility import next, literal_eval, tokenize_func, BytesIO from _compatibility import next, literal_eval, tokenize_func, BytesIO, property
import tokenize import tokenize
import re import re