Add type annotation to device.setter

This commit is contained in:
belono 2023-09-04 12:36:34 +02:00
parent a7e7bc0a64
commit e434164202

View File

@ -142,7 +142,7 @@ class Escpos(object):
return self._device
@device.setter
def device(self, new_device):
def device(self, new_device: object):
self._device = new_device
def open(self):