Merge pull request #2064 from jschueller/py310
[Python] Fix overload_simple_cast test with 3.10
This commit is contained in:
commit
76d8e2cfaf
1 changed files with 2 additions and 0 deletions
|
|
@ -9,6 +9,8 @@ class Ai:
|
|||
def __int__(self):
|
||||
return self.x
|
||||
|
||||
def __index__(self):
|
||||
return self.x
|
||||
|
||||
class Ad:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue