Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/env-windows
/ fixdoc
Function
fixdoc
tools/python-3.11.9-amd64/Lib/idlelib/run.py:333–335 ·
view source on GitHub ↗
(fun, text)
Source
from the content-addressed store, hash-verified
331
332
333
def
fixdoc(fun, text):
334
tem = (fun.__doc__ +
'\n\n'
)
if
fun.__doc__ is not None
else
''
335
fun.__doc__ = tem + textwrap.fill(textwrap.dedent(text))
336
337
RECURSIONLIMIT_DELTA = 30
338
Callers
1
install_recursionlimit_wrappers
Function · 0.85
Calls
2
dedent
Method · 0.80
fill
Method · 0.45
Tested by
no test coverage detected