Skip to content

Commit a1e2f27

Browse files
mos9527K0lb3
authored andcommitted
Fix typo in generated classes and ClassesGenerator.py
1 parent 24114bf commit a1e2f27

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

UnityPy/classes/generated.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def unitypy_define(cls: T) -> T:
3232
which would make type-hinting more tricky, and breaks attrs.define.
3333
3434
Therefore this function bypasses the issue
35-
by redifining the bases for problematic classes for the attrs.define call.
35+
by redefining the bases for problematic classes for the attrs.define call.
3636
"""
3737
bases = cls.__bases__
3838
if bases[0] in (object, Object, ABC):

generators/ClassesGenerator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def unitypy_define(cls: T) -> T:
7575
which would make type-hinting more tricky, and breaks attrs.define.
7676
7777
Therefore this function bypasses the issue
78-
by redifining the bases for problematic classes for the attrs.define call.
78+
by redefining the bases for problematic classes for the attrs.define call.
7979
\"\"\"
8080
bases = cls.__bases__
8181
if bases[0] in (object, Object, ABC):

0 commit comments

Comments
 (0)