1
0
forked from VimPlug/jedi

Fix some fstring issues for now

This commit is contained in:
Dave Halter
2018-04-05 01:11:04 +02:00
parent af956d70a3
commit 567c8b8097
5 changed files with 22 additions and 9 deletions

View File

@@ -23,8 +23,7 @@ class _ModuleAttributeName(AbstractNameDefinition):
self.string_name = string_name
def infer(self):
ctx = compiled.builtin_from_name(self.parent_context.evaluator, u'str')
return ctx.execute_evaluated()
return compiled.get_string_context_set(self.parent_context.evaluator)
class ModuleName(ContextNameMixin, AbstractNameDefinition):