From ee9565564b75389904ddb340efeca02befe58cc0 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Sat, 3 Apr 2021 10:14:38 +0100 Subject: [PATCH] Add new data.py file to hold all static data. The aim here is to avoid static data in modules that contain code. Why? So that we can avoid some potential import loops when the 'inner' module only wants static data but is already imported by the 'outer' module for code purposes. --- data.py | 1 + 1 file changed, 1 insertion(+) create mode 100644 data.py diff --git a/data.py b/data.py new file mode 100644 index 00000000..af379fb1 --- /dev/null +++ b/data.py @@ -0,0 +1 @@ +"""Static data."""