summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/operators.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2013-06-03 16:32:12 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2013-06-03 16:42:46 -0400
commit33d3e11cbf596c64abc3ced1d5aa01989afe0ad8 (patch)
tree8cfffb06ca35845c0c456a636a8674f8728e31c6 /lib/sqlalchemy/sql/operators.py
parentc6f54ae434b40f0ddfce468d29663014ca5fc135 (diff)
downloadsqlalchemy-33d3e11cbf596c64abc3ced1d5aa01989afe0ad8.tar.gz
- remove the ``__iter__()`` with notimplemented since it interferes
with legitimate iterable detection, [ticket:2726] Conflicts: doc/build/changelog/changelog_09.rst
Diffstat (limited to 'lib/sqlalchemy/sql/operators.py')
-rw-r--r--lib/sqlalchemy/sql/operators.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/sqlalchemy/sql/operators.py b/lib/sqlalchemy/sql/operators.py
index a7e6af116..6f3705661 100644
--- a/lib/sqlalchemy/sql/operators.py
+++ b/lib/sqlalchemy/sql/operators.py
@@ -310,11 +310,6 @@ class ColumnOperators(Operators):
"""
return self.operate(neg)
- def __iter__(self):
- """Block calls to list() from calling __getitem__() endlessly."""
-
- raise NotImplementedError("Class %s is not iterable" % self.__class__)
-
def __getitem__(self, index):
"""Implement the [] operator.