hasEmbeddedSignature

emlib.doctools.hasEmbeddedSignature(objname, doc)[source]

Returns True if the docstring has an embedded signature

This is be the case for cython generated classes with the compiler directive “embedsignature” enabled

Parameters:
  • objname (str) – the name of the object

  • doc (str) – the docstring

Return type:

bool

Returns:

True if docstring has an embedded signature