mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +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
|
|
@ -315,9 +315,6 @@ class BitVec:
|
|||
def __int__(self):
|
||||
return int(self._data)
|
||||
|
||||
def __long__(self):
|
||||
return int(self._data)
|
||||
|
||||
def __float__(self):
|
||||
return float(self._data)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue