aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pymba/vimba_system.py17
1 files changed, 2 insertions, 15 deletions
diff --git a/pymba/vimba_system.py b/pymba/vimba_system.py
index f4d0c54..407bef6 100644
--- a/pymba/vimba_system.py
+++ b/pymba/vimba_system.py
@@ -1,22 +1,9 @@
-# -*- coding: utf-8 -*-
-from __future__ import absolute_import
from .vimba_object import VimbaObject
-from ctypes import c_void_p
-
-# system features are automatically readable as attributes.
class VimbaSystem(VimbaObject):
-
"""
- A Vimba system object. This class provides the minimal access
- to Vimba functions required to control the system.
+ A Vimba system object. This class provides the minimal access to Vimba functions required to control the system.
"""
-
- # own handle is inherited as self._handle
-
def __init__(self):
- super(VimbaSystem, self).__init__()
-
- # set own handle manually
- self._handle = c_void_p(1)
+ super().__init__(handle=1)