diff options
Diffstat (limited to 'lib/sqlalchemy/util/_py_collections.py')
-rw-r--r-- | lib/sqlalchemy/util/_py_collections.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/sqlalchemy/util/_py_collections.py b/lib/sqlalchemy/util/_py_collections.py index d36157b10..f8348714c 100644 --- a/lib/sqlalchemy/util/_py_collections.py +++ b/lib/sqlalchemy/util/_py_collections.py @@ -296,9 +296,6 @@ class IdentitySet: def clear(self) -> None: self._members.clear() - def __cmp__(self, other: Any) -> NoReturn: - raise TypeError("cannot compare sets using cmp()") - def __eq__(self, other: Any) -> bool: if isinstance(other, IdentitySet): return self._members == other._members |