mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 11:30:06 +01:00
Use absolute import
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -107,7 +107,7 @@ class PiWrapperGenerator(generators.WrapperGeneratorBase):
|
||||
for item in module.imports:
|
||||
if item.startswith('_'):
|
||||
item = item[1:]
|
||||
stream.write('from %s import *\n' % item)
|
||||
stream.write('from wx.%s import *\n' % item)
|
||||
|
||||
methodMap = {
|
||||
extractors.ClassDef : self.generateClass,
|
||||
|
||||
Reference in New Issue
Block a user