bt2: move `_ListenerHandle` to `utils.py`
[babeltrace.git] / src / bindings / python / bt2 / bt2 / __init__.py.in
index e4f01589d05c3cb81afa450127a3fd0f65e50f69..af5cd9513dbaa4be1a9bd8db57a03ebd3b732046 100644 (file)
@@ -122,7 +122,7 @@ class InvalidObject(Exception):
     pass
 
 
-class OverflowError(OverflowError):
+class _OverflowError(OverflowError):
     pass
 
 
@@ -134,16 +134,10 @@ class Stop(StopIteration):
     pass
 
 
-class IncompleteUserClass(Exception):
+class _IncompleteUserClass(Exception):
     pass
 
 
-class _ListenerHandle:
-    def __init__(self, listener_id, obj):
-        self._listener_id = listener_id
-        self._obj = obj
-
-
 def _init_and_register_exit():
     import bt2.native_bt as _native_bt
     import atexit
This page took 0.027816 seconds and 4 git commands to generate.