summaryrefslogtreecommitdiff
path: root/function_utils.py
diff options
context:
space:
mode:
authorScott Gasch <[email protected]>2022-05-31 15:36:40 -0700
committerScott Gasch <[email protected]>2022-05-31 15:36:40 -0700
commit02302bbd9363facb59c4df2c1f4013087702cfa6 (patch)
tree938e51338678416afc891d2839c2ee8dd341f34d /function_utils.py
parentf3dbc7dc19ba5703f8f5aa9bf8af3c491b3510f6 (diff)
Improve docstrings for sphinx.
Diffstat (limited to 'function_utils.py')
-rw-r--r--function_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/function_utils.py b/function_utils.py
index f74a852..a8ab0c7 100644
--- a/function_utils.py
+++ b/function_utils.py
@@ -18,8 +18,8 @@ def function_identifier(f: Callable) -> str:
>>> function_identifier(function_identifier)
'function_utils:function_identifier'
-
"""
+
if f.__module__ == '__main__':
from pathlib import Path