mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 12:00:13 +01:00
Don't use reload on Python3
This commit is contained in:
@@ -19,8 +19,9 @@ from . import templates
|
||||
|
||||
EPYDOC_PATTERN = re.compile(r'\S+{\S+}', re.DOTALL)
|
||||
|
||||
reload(sys)
|
||||
sys.setdefaultencoding('utf-8')
|
||||
if sys.version_info < (3,):
|
||||
reload(sys)
|
||||
sys.setdefaultencoding('utf-8')
|
||||
|
||||
|
||||
def make_class_tree(tree):
|
||||
|
||||
Reference in New Issue
Block a user