Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ doc
Method
doc
crates/doc/generate.py:49–52 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
47
48
@property
49
def
doc(self) -> str:
50
assert self.raw_doc is not None
51
52
return
re.sub(UNICODE_ESCAPE, r
"\\u{\1}"
, self.raw_doc.strip())
53
54
55
def
is_c_extension(module: types.ModuleType) -> bool:
Callers
4
generate_class_def
Function · 0.80
gen_impl_item
Method · 0.80
impl_pymodule
Function · 0.80
gen_module_item
Method · 0.80
Calls
2
sub
Method · 0.45
strip
Method · 0.45
Tested by
no test coverage detected