1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 12:28:09 +00:00

style(core): type object doesn't have __slots__

This commit is contained in:
matejcik 2022-02-01 15:29:56 +01:00 committed by matejcik
parent a1c62098e9
commit c236dfc814

View File

@ -297,7 +297,7 @@ class BufferReader:
return byte return byte
def obj_eq(self: object, __o: object) -> bool: def obj_eq(self: Any, __o: Any) -> bool:
""" """
Compares object contents, supports __slots__. Compares object contents, supports __slots__.
""" """
@ -313,7 +313,7 @@ def obj_eq(self: object, __o: object) -> bool:
return True return True
def obj_repr(self: object) -> str: def obj_repr(self: Any) -> str:
""" """
Returns a string representation of object, supports __slots__. Returns a string representation of object, supports __slots__.
""" """