diff options
| author | mike bayer <mike_mp@zzzcomputing.com> | 2019-10-26 13:58:52 +0000 |
|---|---|---|
| committer | Gerrit Code Review <gerrit@bbpush.zzzcomputing.com> | 2019-10-26 13:58:52 +0000 |
| commit | 885befb0a7fb877d52633b1bad35c6103a6f093b (patch) | |
| tree | 918cd457c36935b67ada2882b8fa7f29b79a376f /lib/sqlalchemy | |
| parent | c2e8b48a668a7ae7c1467a00e44fb1e4daa660a3 (diff) | |
| parent | 4b61b81dba8d90165d764050d9466b286c7a80f2 (diff) | |
| download | sqlalchemy-885befb0a7fb877d52633b1bad35c6103a6f093b.tar.gz | |
Merge "Fix Python 3.8 SyntaxWarning: "is not" with a literal"
Diffstat (limited to 'lib/sqlalchemy')
| -rw-r--r-- | lib/sqlalchemy/orm/query.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/orm/query.py b/lib/sqlalchemy/orm/query.py index 92f9ee952..35416ae5e 100644 --- a/lib/sqlalchemy/orm/query.py +++ b/lib/sqlalchemy/orm/query.py @@ -176,7 +176,7 @@ class Query(Generative): self._primary_entity = None self._has_mapper_entities = False - if entities is not (): + if entities != (): for ent in util.to_list(entities): entity_wrapper(self, ent) |
