1
0
forked from VimPlug/jedi

Start using a lot more unicode literals for Python 2

This commit is contained in:
Dave Halter
2017-12-24 03:11:28 +01:00
parent 1f4e0dd22e
commit 5a06ea2699
11 changed files with 22 additions and 22 deletions

View File

@@ -18,7 +18,7 @@ class _ModuleAttributeName(AbstractNameDefinition):
"""
For module attributes like __file__, __str__ and so on.
"""
api_type = 'instance'
api_type = u'instance'
def __init__(self, parent_module, string_name):
self.parent_context = parent_module
@@ -42,7 +42,7 @@ class ModuleName(ContextNameMixin, AbstractNameDefinition):
class ModuleContext(use_metaclass(CachedMetaClass, TreeContext)):
api_type = 'module'
api_type = u'module'
parent_context = None
def __init__(self, evaluator, module_node, path):