Author: Brian Kearns <[email protected]>
Branch:
Changeset: r80921:17f53b18797e
Date: 2015-11-24 18:43 -0500
http://bitbucket.org/pypy/pypy/changeset/17f53b18797e/
Log: unused
diff --git a/lib_pypy/datetime.py b/lib_pypy/datetime.py
--- a/lib_pypy/datetime.py
+++ b/lib_pypy/datetime.py
@@ -575,8 +575,6 @@
True)
return NotImplemented
- __radd__ = __add__
-
def __sub__(self, other):
if isinstance(other, timedelta):
# for CPython compatibility, we cannot use
@@ -587,11 +585,6 @@
True)
return NotImplemented
- def __rsub__(self, other):
- if isinstance(other, timedelta):
- return -self + other
- return NotImplemented
-
def __neg__(self):
# for CPython compatibility, we cannot use
# our __class__ here, but need a real timedelta
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit