MCPcopy Index your code
hub / github.com/python/cpython / visit_Interpolation

Method visit_Interpolation

Lib/_ast_unparse.py:680–682  ·  view source on GitHub ↗
(self, node)

Source from the content-addressed store, hash-verified

678 self._write_interpolation(node)
679
680 def visit_Interpolation(self, node):
681 # If `str` is set to `None`, use the `value` to generate the source code.
682 self._write_interpolation(node, use_str_attr=node.str is not None)
683
684 def visit_Name(self, node):
685 self.write(node.id)

Callers 1

_write_ftstring_innerMethod · 0.95

Calls 1

_write_interpolationMethod · 0.95

Tested by

no test coverage detected