getEmbeddedSignature¶
- emlib.doctools.getEmbeddedSignature(objname, doc)[source]¶
Returns the docstring embedded signature
This is present in cython generated classes with the compiler directive “embedsignature” enabled
- Parameters:
objname (
str
) – the name of the objectdoc (
str
) – the docstring of the object
- Return type:
str
- Returns:
the embedded signature or an empty string if no embedded signature found