MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / sanitize_docstring

Method sanitize_docstring

build_scripts/pybind11_stubgen.py:476–483  ·  view source on GitHub ↗
(docstring)

Source from the content-addressed store, hash-verified

474
475 @staticmethod
476 def sanitize_docstring(docstring): # type: (str) ->str
477 docstring = StubsGenerator.remove_signatures(docstring)
478 docstring = docstring.rstrip("\n")
479
480 if docstring and re.match(r"^\s*$", docstring):
481 docstring = ""
482
483 return docstring
484
485 @staticmethod
486 def format_docstring(docstring):

Callers 3

to_linesMethod · 0.80
to_linesMethod · 0.80
to_linesMethod · 0.80

Calls 2

remove_signaturesMethod · 0.80
matchMethod · 0.45

Tested by

no test coverage detected