mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
whitespace normalisation
This commit is contained in:
parent
ecdc0a9f46
commit
4ef3a23a35
6 changed files with 23 additions and 24 deletions
|
@ -517,7 +517,7 @@ class DecimalImplicitConstructionTest(unittest.TestCase):
|
|||
else:
|
||||
# testing with -Qnew, so add __truediv__
|
||||
oplist.append(('/', '__truediv__', '__rtruediv__'))
|
||||
|
||||
|
||||
for sym, lop, rop in oplist:
|
||||
setattr(E, lop, lambda self, other: 'str' + lop + str(other))
|
||||
setattr(E, rop, lambda self, other: str(other) + rop + 'str')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue