Commit 5ab8ae75 authored by Jie Luo's avatar Jie Luo Committed by GitHub

Merge pull request #3511 from cclauss/patch-3

Old style exception --> new style exception
parents 5e39ecc5 958412e2
......@@ -778,7 +778,7 @@ class Comparator:
rhs: any python object
"""
raise NotImplementedError, 'method must be implemented by a subclass.'
raise NotImplementedError('method must be implemented by a subclass.')
def __eq__(self, rhs):
return self.equals(rhs)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment