projects
/
pyutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
More work to improve documentation generated by sphinx. Also fixes
[pyutils.git]
/
src
/
pyutils
/
function_utils.py
diff --git
a/src/pyutils/function_utils.py
b/src/pyutils/function_utils.py
index ecfd4c32c9b4e8372749da2ad9b4a21f83795513..f4202d38ce03bf97bb837044fbfa01ec4d06160a 100644
(file)
--- a/
src/pyutils/function_utils.py
+++ b/
src/pyutils/function_utils.py
@@
-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()