From 3c4978bef8bdbb27be7bf8b8fed3dbab511b1467 Mon Sep 17 00:00:00 2001 From: Andrew Conlin Date: Tue, 17 Dec 2024 07:23:01 +0000 Subject: [PATCH] [2024-12-17] Adding Python boilerplate to improve interface --- tictoc/__init__.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tictoc/__init__.py diff --git a/tictoc/__init__.py b/tictoc/__init__.py new file mode 100644 index 0000000..170a70b --- /dev/null +++ b/tictoc/__init__.py @@ -0,0 +1,9 @@ +from .tictoc import * + +__doc__ = tictoc.__doc__ +if hasattr(tictoc, "__all__"): + __all__ = tictoc.__all__ + +results = tictoc.init(); +tic = results.tic; +toc = results.toc;