We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1d4177 commit 26afbd2Copy full SHA for 26afbd2
source-code/typing/classes.py
@@ -6,7 +6,7 @@
6
class MyClass:
7
8
def __init__(self, data: Any) -> None:
9
- self.data = data
+ self.data = int(data)
10
11
@property
12
def data(self) -> int:
0 commit comments