summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBas van Beek <b.f.van.beek@vu.nl>2021-05-11 11:44:10 +0200
committerBas van Beek <b.f.van.beek@vu.nl>2021-05-11 11:51:35 +0200
commit85606c6f7a01b027107e0997057e57629f536ccb (patch)
tree007cdd4bbc22daff4ff953dabd336709135c1d79
parent46ede3e25bc3682bf55e3651169e5800cd9332ae (diff)
downloadnumpy-85606c6f7a01b027107e0997057e57629f536ccb.tar.gz
BUG: Fixed a broken `NumpyVersion.__repr__` method
-rw-r--r--numpy/lib/_version.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/_version.py b/numpy/lib/_version.py
index 0f26d6503..00e00e9a7 100644
--- a/numpy/lib/_version.py
+++ b/numpy/lib/_version.py
@@ -151,5 +151,5 @@ class NumpyVersion():
def __ge__(self, other):
return self._compare(other) >= 0
- def __repr(self):
+ def __repr__(self):
return "NumpyVersion(%s)" % self.vstring