"Expose `Device` internals at the C level for other Cython modules"
from pycomedi cimport _comedilib_h
-from pycomedi cimport device_holder as _device_holder
+from pycomedi.device_holder cimport DeviceHolder as _DeviceHolder
from pycomedi cimport instruction as _instruction
-cdef class Device (_device_holder.DeviceHolder):
+cdef class Device (_DeviceHolder):
cdef public object file
cdef public object filename
from pycomedi cimport _comedilib_h
from . import _error
from . import calibration as _calibration
-from pycomedi cimport device_holder as _device_holder
+from pycomedi.device_holder cimport DeviceHolder as _DeviceHolder
from . import device_holder as _device_holder
from pycomedi cimport instruction as _instruction
from . import instruction as _instruction
from . import subdevice as _subdevice
-cdef class Device (_device_holder.DeviceHolder):
+cdef class Device (_DeviceHolder):
"""A Comedi device
>>> from . import constant
"Expose `Range` internals at the C level for other Cython modules"
from pycomedi cimport _comedilib_h
-from . import constant as _constant
+from pycomedi.constant cimport BitwiseOperator as _BitwiseOperator
-cdef class Range (_constant.BitwiseOperator):
+cdef class Range (_BitwiseOperator):
cdef _comedilib_h.comedi_range range
cdef set_comedi_range(self, _comedilib_h.comedi_range range)
"Wrap `comedi_range` in a Python class"
-from pycomedi import constant as _constant
+from pycomedi.constant cimport BitwiseOperator as _BitwiseOperator
from . import constant as _constant
-cdef class Range (_constant.BitwiseOperator):
+cdef class Range (_BitwiseOperator):
"""Stucture displaying a possible channel range
Warning: You probably want to use `channel.Channel.get_range()` or
from pycomedi cimport _comedilib_h
from pycomedi cimport command as _command
-from pycomedi cimport subdevice_holder as _subdevice_holder
+from pycomedi.subdevice_holder cimport SubdeviceHolder as _SubdeviceHolder
-cdef class Subdevice (_subdevice_holder.SubdeviceHolder):
+cdef class Subdevice (_SubdeviceHolder):
cpdef dio_bitfield(self, unsigned int bits=*, write_mask=*, base_channel=*)
from . import channel as _channel
from . import constant as _constant
from . import command as _command
-from pycomedi cimport subdevice_holder as _subdevice_holder
-from . import subdevice_holder as _subdevice_holder
+from pycomedi.subdevice_holder cimport SubdeviceHolder as _SubdeviceHolder
+from .subdevice_holder import SubdeviceHolder as _SubdeviceHolder
from .utility import _subdevice_dtype, _subdevice_typecode
-cdef class Subdevice (_subdevice_holder.SubdeviceHolder):
+cdef class Subdevice (_SubdeviceHolder):
"""Class bundling subdevice-related functions
>>> from .device import Device