Correct docstring

This commit is contained in:
Philip Eisenlohr 2023-12-18 23:02:02 +00:00
parent 809f5f455b
commit e93618bc89
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ def open_text(fname: _FileHandle,
open(_Path(fname).expanduser(),mode,newline=('\n' if mode == 'w' else None))
def time_stamp() -> str:
"""Timestamp the execution of a (function within a) class."""
"""Provide current time as formatted string."""
return _datetime.datetime.now().astimezone().strftime('%Y-%m-%d %H:%M:%S%z')
def execution_stamp(class_name: str,