Skip to content

Commit 26afbd2

Browse files
committed
Fix missing type conversion
1 parent e1d4177 commit 26afbd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source-code/typing/classes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
class MyClass:
77

88
def __init__(self, data: Any) -> None:
9-
self.data = data
9+
self.data = int(data)
1010

1111
@property
1212
def data(self) -> int:

0 commit comments

Comments
 (0)