remove __nonzero__ as it's only for py2

This commit is contained in:
Cosimo Lupo 2020-04-29 11:23:29 +01:00
parent dbc9d132c0
commit 9bdab32082
No known key found for this signature in database
GPG Key ID: 179A8F0895A02F4F

View File

@ -317,8 +317,6 @@ class Transform(NamedTuple):
"""
return self != Identity
__nonzero__ = __bool__
def __repr__(self):
return "<%s [%g %g %g %g %g %g]>" % ((self.__class__.__name__,) + self)