Some more small improvements for Python 2

This commit is contained in:
Dave Halter committed 2017-12-28 23:58:19 +01:00
1 parent 4b72a89379
commit 05b2906dcc
2 files changed
+5 -4

No files matched your search

+1 -1
View File
@@ -344,7 +344,7 @@ class CompiledObjectFilter(AbstractFilter):
# ``dir`` doesn't include the type names.
if not self._is_instance and needs_type_completions:
for filter in builtin_from_name(self._evaluator, 'type').get_filters():
for filter in builtin_from_name(self._evaluator, u'type').get_filters():
names += filter.values()
return names