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

Method format_docstring

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

Source from the content-addressed store, hash-verified

484
485 @staticmethod
486 def format_docstring(docstring):
487 docstring = inspect.cleandoc("\n" + docstring)
488 return StubsGenerator.indent('"""\n{}\n"""'.format(docstring.strip("\n")))
489
490
491class AttributeStubsGenerator(StubsGenerator):

Callers 4

to_linesMethod · 0.80
to_linesMethod · 0.80
to_linesMethod · 0.80
to_linesMethod · 0.80

Calls 2

indentMethod · 0.45
formatMethod · 0.45

Tested by

no test coverage detected