summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/sql')
-rw-r--r--lib/sqlalchemy/sql/operators.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/sqlalchemy/sql/operators.py b/lib/sqlalchemy/sql/operators.py
index 578f87c2c..9eca7e781 100644
--- a/lib/sqlalchemy/sql/operators.py
+++ b/lib/sqlalchemy/sql/operators.py
@@ -314,7 +314,8 @@ class ColumnOperators(Operators):
def is_distinct_from(self, other):
"""Implement the ``IS DISTINCT FROM`` operator.
-
+ On databases where the ``IS`` operator supplies the
+ same functionality, e.g. sqlite, produces ``IS NOT``.
"""
return self.operate(is_distinct_from, other)
@@ -322,7 +323,8 @@ class ColumnOperators(Operators):
def isnot_distinct_from(self, other):
"""Implement the ``IS NOT DISTINCT FROM`` operator.
-
+ On databases where the ``IS`` operator supplies the
+ same functionality, e.g. sqlite, produces ``IS``.
"""
return self.operate(isnot_distinct_from, other)