mirror of https://github.com/Nonannet/copapy.git
type annotation for data_writer.copy() fixed
This commit is contained in:
parent
c31601853b
commit
0212fa77a3
|
|
@ -25,7 +25,7 @@ class data_writer():
|
|||
self._data: list[tuple[str, bytes, int]] = []
|
||||
self.byteorder: ByteOrder = byteorder
|
||||
|
||||
def copy(self):
|
||||
def copy(self) -> 'data_writer':
|
||||
cp = data_writer(self.byteorder)
|
||||
cp._data = self._data.copy()
|
||||
return cp
|
||||
|
|
|
|||
Loading…
Reference in New Issue