mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #23641: Cleaned out legacy dunder names from tests and docs.
Fixed 2 to 3 porting bug in pynche.ColorDB. Added few tests for __truediv__, __floordiv__ and __matmul__.
This commit is contained in:
commit
c2ccce791c
19 changed files with 86 additions and 124 deletions
|
@ -144,14 +144,6 @@ class AugAssignTest(unittest.TestCase):
|
|||
output.append("__imatmul__ called")
|
||||
return self
|
||||
|
||||
def __div__(self, val):
|
||||
output.append("__div__ called")
|
||||
def __rdiv__(self, val):
|
||||
output.append("__rdiv__ called")
|
||||
def __idiv__(self, val):
|
||||
output.append("__idiv__ called")
|
||||
return self
|
||||
|
||||
def __floordiv__(self, val):
|
||||
output.append("__floordiv__ called")
|
||||
return self
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue