summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/util/langhelpers.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/util/langhelpers.py')
-rw-r--r--lib/sqlalchemy/util/langhelpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/util/langhelpers.py b/lib/sqlalchemy/util/langhelpers.py
index 68c0f885b..41fed882d 100644
--- a/lib/sqlalchemy/util/langhelpers.py
+++ b/lib/sqlalchemy/util/langhelpers.py
@@ -567,7 +567,7 @@ def class_hierarchy(cls):
if isinstance(cls, types.ClassType):
return list()
- hier = set([cls])
+ hier = {cls}
process = list(cls.__mro__)
while process:
c = process.pop()