Fix some fstring issues for now
This commit is contained in:
1 parent
af956d70a3
commit
567c8b8097
5 files changed
+22
-9
No files matched your search
@@ -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