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

Function complete_string

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

Source from the content-addressed store, hash-verified

347# end def reformat_filter
348
349def complete_string(source, stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS):
350 input = io.StringIO(source)
351 output = io.StringIO()
352 pi = PythonIndenter(input, output, stepsize, tabsize, expandtabs)
353 pi.complete()
354 return output.getvalue()
355# end def complete_string
356
357def delete_string(source, stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS):

Callers 1

complete_fileFunction · 0.85

Calls 3

completeMethod · 0.95
getvalueMethod · 0.95
PythonIndenterClass · 0.85

Tested by

no test coverage detected