diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-06-03 16:32:12 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-06-03 16:32:12 -0400 |
commit | d993bdeac8674db88efb3c400b4a505c8f97af9e (patch) | |
tree | dafd15d9e15bf6068a4f76a91bbaafac6ddde785 /lib/sqlalchemy/sql/operators.py | |
parent | f8325d9dbb52d0da140f3403ce915645ae4a5a9c (diff) | |
download | sqlalchemy-d993bdeac8674db88efb3c400b4a505c8f97af9e.tar.gz |
- remove the ``__iter__()`` with notimplemented since it interferes
with legitimate iterable detection, [ticket:2726]
Diffstat (limited to 'lib/sqlalchemy/sql/operators.py')
-rw-r--r-- | lib/sqlalchemy/sql/operators.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/sqlalchemy/sql/operators.py b/lib/sqlalchemy/sql/operators.py index 4afb3db48..128442158 100644 --- a/lib/sqlalchemy/sql/operators.py +++ b/lib/sqlalchemy/sql/operators.py @@ -313,11 +313,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. |