Add type annotation to device.setter
This commit is contained in:
parent
a7e7bc0a64
commit
e434164202
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user