MCPcopy 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
55def is_c_extension(module: types.ModuleType) -> bool:

Callers 4

generate_class_defFunction · 0.80
gen_impl_itemMethod · 0.80
impl_pymoduleFunction · 0.80
gen_module_itemMethod · 0.80

Calls 2

subMethod · 0.45
stripMethod · 0.45

Tested by

no test coverage detected