Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/env-windows
/ escape
Method
escape
tools/python-3.11.9-amd64/Lib/pydoc.py:546–547 ·
view source on GitHub ↗
(self, text)
Source
from the content-addressed store, hash-verified
544
self.maxstring = self.maxother = 100
545
546
def
escape(self, text):
547
return
replace(text,
'&'
,
'&'
,
'<'
,
'<'
,
'>'
,
'>'
)
548
549
def
repr(self, object):
550
return
Repr.repr(self, object)
Callers
15
repr1
Method · 0.95
repr_string
Method · 0.95
repr_instance
Method · 0.95
translate
Function · 0.45
_find_grail_rc
Method · 0.45
preformat
Method · 0.45
docmodule
Method · 0.45
docclass
Method · 0.45
docroutine
Method · 0.45
html_navbar
Function · 0.45
html_error
Function · 0.45
_find_lineno
Method · 0.45
Calls
1
replace
Function · 0.70
Tested by
2
_find_lineno
Method · 0.36
check_output
Method · 0.36