Some more small improvements for Python 2

This commit is contained in:
Dave Halter
2017-12-28 23:58:19 +01:00
parent 4b72a89379
commit 05b2906dcc
2 changed files with 5 additions and 4 deletions
+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