From 2c1c3e4d76c6211bddf1046563728db6ce4c002b Mon Sep 17 00:00:00 2001 From: Lukas Kluft <lukas.kluft@gmail.com> Date: Thu, 11 Aug 2022 10:45:37 +0200 Subject: [PATCH] Import functions and constants on package level The functions are imported into the top-level namespace directly while the constants are accessible through their submodule namespace. --- moist_thermodynamics/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/moist_thermodynamics/__init__.py b/moist_thermodynamics/__init__.py index 0ce844c..956a73e 100644 --- a/moist_thermodynamics/__init__.py +++ b/moist_thermodynamics/__init__.py @@ -1 +1,2 @@ -# content of __init__.py +from .functions import * +from . import constants -- GitLab