summaryrefslogtreecommitdiff
path: root/libstdc++-v3/python
diff options
context:
space:
mode:
authordoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>2015-02-28 09:22:43 +0000
committerdoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>2015-02-28 09:22:43 +0000
commitb1b4ba0bf660b88624bd6af08af7dfe50956e7d5 (patch)
tree7260f41df9035792c5e488fdcc59cd670fc94788 /libstdc++-v3/python
parentc03ae9b6ca8b6c7f3cc2fa0ccac89a96459b6561 (diff)
downloadgcc-b1b4ba0bf660b88624bd6af08af7dfe50956e7d5.tar.gz
2015-02-28 Matthias Klose <doko@ubuntu.com>
PR libstdc++/65246 * python/libstdcxx/v6/__init__.py: Use explicit relative imports. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221076 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/python')
-rw-r--r--libstdc++-v3/python/libstdcxx/v6/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/python/libstdcxx/v6/__init__.py b/libstdc++-v3/python/libstdcxx/v6/__init__.py
index 59088402d0b..de3aa728ceb 100644
--- a/libstdc++-v3/python/libstdcxx/v6/__init__.py
+++ b/libstdc++-v3/python/libstdcxx/v6/__init__.py
@@ -16,7 +16,7 @@
import gdb
# Load the pretty-printers.
-from printers import register_libstdcxx_printers
+from .printers import register_libstdcxx_printers
register_libstdcxx_printers(gdb.current_objfile())
# Load the xmethods if GDB supports them.
@@ -28,5 +28,5 @@ def gdb_has_xmethods():
return False
if gdb_has_xmethods():
- from xmethods import register_libstdcxx_xmethods
+ from .xmethods import register_libstdcxx_xmethods
register_libstdcxx_xmethods(gdb.current_objfile())