diff options
Diffstat (limited to 'lldb/bindings/python/python.swig')
| -rw-r--r-- | lldb/bindings/python/python.swig | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lldb/bindings/python/python.swig b/lldb/bindings/python/python.swig index f1b156624e8d..278c0eed2bab 100644 --- a/lldb/bindings/python/python.swig +++ b/lldb/bindings/python/python.swig @@ -50,12 +50,7 @@ Older swig versions will simply ignore this setting. import $module except ImportError: # Relative import should work if we are being loaded by Python. - # The cpython module built by swig is pushed one level down into - # the native submodule, because at this point the interpreter - # is still constructing the lldb module itself. - # Simply importing anything using `from . import` constitutes - # a cyclic importing. - from .native import $module" + from . import $module" %enddef // The name of the module to be created. |
