mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Remove __long__ methods from UserString and from Demo/ classes.
This commit is contained in:
parent
e97637daaa
commit
c7d484de9b
3 changed files with 0 additions and 10 deletions
|
@ -255,7 +255,6 @@ class UserString(Sequence):
|
|||
def __str__(self): return str(self.data)
|
||||
def __repr__(self): return repr(self.data)
|
||||
def __int__(self): return int(self.data)
|
||||
def __long__(self): return int(self.data)
|
||||
def __float__(self): return float(self.data)
|
||||
def __complex__(self): return complex(self.data)
|
||||
def __hash__(self): return hash(self.data)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue