def slice_docstring(desc): return SvDocstring(desc).get_shorthand()
def function_iterator(module_file): for name in ddir(module_file): obj = getattr(module_file, name) if callable(obj) and SvDocstring(obj.__doc__).has_shorthand(): yield name, obj.__doc__