summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql.py
diff options
context:
space:
mode:
authorJason Kirtland <jek@discorporate.us>2007-07-19 23:46:37 +0000
committerJason Kirtland <jek@discorporate.us>2007-07-19 23:46:37 +0000
commitc4b081cc1d89e8d02cb9fad6a84daf035a90df63 (patch)
tree66fce62390bb2bf12f33da2c94a7011f4a09ec61 /lib/sqlalchemy/sql.py
parent7fed906a9bcf2a68109d2252d122e3a25c6f1861 (diff)
downloadsqlalchemy-c4b081cc1d89e8d02cb9fad6a84daf035a90df63.tar.gz
Merged reference fixes from r2986
Diffstat (limited to 'lib/sqlalchemy/sql.py')
-rw-r--r--lib/sqlalchemy/sql.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/sql.py b/lib/sqlalchemy/sql.py
index fecb5350b..8b454947e 100644
--- a/lib/sqlalchemy/sql.py
+++ b/lib/sqlalchemy/sql.py
@@ -2163,10 +2163,10 @@ class _UnaryExpression(ColumnElement):
visitor.visit_unary(self)
def compare(self, other):
- """Compare this ``_UnaryClause`` against the given ``ClauseElement``."""
+ """Compare this ``_UnaryExpression`` against the given ``ClauseElement``."""
return (
- isinstance(other, _UnaryClause) and self.operator == other.operator and
+ isinstance(other, _UnaryExpression) and self.operator == other.operator and
self.modifier == other.modifier and
self.element.compare(other.element)
)