This commit is contained in:
jan 2023-04-06 17:03:31 -07:00
commit 4eee4d19e9
5 changed files with 7 additions and 8 deletions

View file

@ -33,7 +33,7 @@ class Shape(PositionableImpl, LayerableImpl, Rotatable, Mirrorable, Copyable, Sc
"""
__slots__ = () # Children should use AutoSlots
def __copy__(self) -> 'Shape':
def __copy__(self) -> Self:
cls = self.__class__
new = cls.__new__(cls)
for name in self.__slots__: # type: str