summaryrefslogtreecommitdiff
path: root/python/bad__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/bad__init__.py')
-rw-r--r--python/bad__init__.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/python/bad__init__.py b/python/bad__init__.py
new file mode 100644
index 0000000..11a6970
--- /dev/null
+++ b/python/bad__init__.py
@@ -0,0 +1,11 @@
+# The correct idiom is
+# from mateweather.I_KNOW_THIS_IS_UNSTABLE import mateweather
+
+def location_new_world(use_regions):
+ raise ImportError("libmateweather should only be used if you understand that it's subject to change, and is not supported as a fixed API/ABI or as part of the platform")
+
+def location_entry_new(top):
+ raise ImportError("libmateweather should only be used if you understand that it's subject to change, and is not supported as a fixed API/ABI or as part of the platform")
+
+def timezone_menu_new(top):
+ raise ImportError("libmateweather should only be used if you understand that it's subject to change, and is not supported as a fixed API/ABI or as part of the platform")