Merge pull request #2064 from jschueller/py310

[Python] Fix overload_simple_cast test with 3.10
This commit is contained in:
William S Fulton 2021-10-20 19:45:55 +01:00 committed by GitHub
commit 76d8e2cfaf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,6 +9,8 @@ class Ai:
def __int__(self):
return self.x
def __index__(self):
return self.x
class Ad: