More work to improve documentation generated by sphinx. Also fixes
[pyutils.git] / src / pyutils / function_utils.py
index ecfd4c32c9b4e8372749da2ad9b4a21f83795513..f4202d38ce03bf97bb837044fbfa01ec4d06160a 100644 (file)
@@ -38,3 +38,9 @@ def function_identifier(f: Callable) -> str:
         return f'{module}:{f.__name__}'
     else:
         return f'{f.__module__}:{f.__name__}'
+
+
+if __name__ == '__main__':
+    import doctest
+
+    doctest.testmod()