MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / delete_string

Function delete_string

tools/python-3.11.9-amd64/Tools/scripts/pindent.py:357–362  ·  view source on GitHub ↗
(source, stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS)

Source from the content-addressed store, hash-verified

355# end def complete_string
356
357def delete_string(source, stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS):
358 input = io.StringIO(source)
359 output = io.StringIO()
360 pi = PythonIndenter(input, output, stepsize, tabsize, expandtabs)
361 pi.delete()
362 return output.getvalue()
363# end def delete_string
364
365def reformat_string(source, stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS):

Callers 1

delete_fileFunction · 0.85

Calls 3

deleteMethod · 0.95
getvalueMethod · 0.95
PythonIndenterClass · 0.85

Tested by

no test coverage detected