MCPcopy Index your code
hub / github.com/fluentpython/example-code-2e / process_inline

Method process_inline

21-async/mojifinder/bottle.py:3579–3581  ·  view source on GitHub ↗
(self, chunk)

Source from the content-addressed store, hash-verified

3577 self.write_code(code)
3578
3579 def process_inline(self, chunk):
3580 if chunk[0] == '!': return '_str(%s)' % chunk[1:]
3581 return '_escape(%s)' % chunk
3582
3583 def write_code(self, line, comment=''):
3584 line, comment = self.fix_backward_compatibility(line, comment)

Callers 1

flush_textMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected