From 2f55a23bcb0445f143d977a43e30a6c3038f461a Mon Sep 17 00:00:00 2001 From: Samuel Huang Date: Fri, 25 Oct 2024 05:28:27 -0700 Subject: [PATCH] Fix formatting of decimals --- ultimatepython/advanced/async.py | 2 +- ultimatepython/advanced/benchmark.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ultimatepython/advanced/async.py b/ultimatepython/advanced/async.py index d7efbc5..e52b739 100644 --- a/ultimatepython/advanced/async.py +++ b/ultimatepython/advanced/async.py @@ -12,7 +12,7 @@ from uuid import uuid4 # Module-level constants -_DELAY_SMALL = .001 +_DELAY_SMALL = 0.001 _DELAY_LARGE = 3600 diff --git a/ultimatepython/advanced/benchmark.py b/ultimatepython/advanced/benchmark.py index 386f95b..d33195f 100644 --- a/ultimatepython/advanced/benchmark.py +++ b/ultimatepython/advanced/benchmark.py @@ -11,7 +11,7 @@ import time # Module-level constants -_SLEEP_DURATION = .001 +_SLEEP_DURATION = 0.001 def finish_slower():