X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=stopwatch.py;h=fa4f2b52f54998bb029f7e14433e5451abd67812;hb=e8fbbb7306430478dec55d2c963eed116d8330cc;hp=c6c154c124482c9bf9c9e20950a9cca0fb22cb1d;hpb=5317c50ce7a96a37acfab3800c0935580766dbbf;p=python_utils.git diff --git a/stopwatch.py b/stopwatch.py index c6c154c..fa4f2b5 100644 --- a/stopwatch.py +++ b/stopwatch.py @@ -1,5 +1,7 @@ #!/usr/bin/env python3 +"""A simple stopwatch decorator / context for timing things.""" + import time from typing import Callable, Optional