summaryrefslogtreecommitdiff
path: root/numpy/polynomial/_polybase.py
diff options
context:
space:
mode:
authorSeth Troisi <sethtroisi@google.com>2020-01-23 16:49:01 -0800
committerSeth Troisi <sethtroisi@google.com>2020-01-23 16:52:25 -0800
commit823f6819dd86e75f772a3a725996773dd6b688e2 (patch)
tree85b754adb9f658fea27e9b7c4eeb383c16b1a1fd /numpy/polynomial/_polybase.py
parent68224f43d09393c1981bb83ee3c13a5158d2817c (diff)
downloadnumpy-823f6819dd86e75f772a3a725996773dd6b688e2.tar.gz
MAINT: Remove Python2 workarounds
Diffstat (limited to 'numpy/polynomial/_polybase.py')
-rw-r--r--numpy/polynomial/_polybase.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/numpy/polynomial/_polybase.py b/numpy/polynomial/_polybase.py
index 28bd50ec6..f4d1d8637 100644
--- a/numpy/polynomial/_polybase.py
+++ b/numpy/polynomial/_polybase.py
@@ -423,10 +423,6 @@ class ABCPolyBase(abc.ABC):
return NotImplemented
return self.__class__(coef, self.domain, self.window)
- def __div__(self, other):
- # this can be removed when python 2 support is dropped.
- return self.__floordiv__(other)
-
def __truediv__(self, other):
# there is no true divide if the rhs is not a Number, although it
# could return the first n elements of an infinite series.