- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 305
 
Closed
Labels
Enhancement ✨Improvement to a componentImprovement to a componentHelp wanted 🙏Outside help would be appreciated, good for new contributorsOutside help would be appreciated, good for new contributors
Milestone
Description
Future enhancement could infer this value instead of giving an empty string:
from astroid import extract_node
call = extract_node("""
x = 'python is {}'
x.format('helpful sometimes')
""")
call.inferred()[0].value  # gives ""Originally posted by @jacobtylerwalls in #1602 (comment)
Metadata
Metadata
Assignees
Labels
Enhancement ✨Improvement to a componentImprovement to a componentHelp wanted 🙏Outside help would be appreciated, good for new contributorsOutside help would be appreciated, good for new contributors