mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-09 07:01:28 +08:00
Fix some fstring issues for now
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user