Example #1
0
def slice_docstring(desc):
    return SvDocstring(desc).get_shorthand()
Example #2
0
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__