summaryrefslogtreecommitdiffstats
path: root/pendulum/tz/zoneinfo/__init__.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-01-05 10:38:41 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-01-05 10:39:17 +0000
commitd6d80a17444c90259c5bfdacb84c61e6bfece655 (patch)
tree157bff98bd572acf0b64cd5d478b0bdac87a37ae /pendulum/tz/zoneinfo/__init__.py
parentReleasing debian version 2.1.2-4. (diff)
downloadpendulum-d6d80a17444c90259c5bfdacb84c61e6bfece655.tar.xz
pendulum-d6d80a17444c90259c5bfdacb84c61e6bfece655.zip
Merging upstream version 3.0.0~a1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'pendulum/tz/zoneinfo/__init__.py')
-rw-r--r--pendulum/tz/zoneinfo/__init__.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/pendulum/tz/zoneinfo/__init__.py b/pendulum/tz/zoneinfo/__init__.py
deleted file mode 100644
index 890351a..0000000
--- a/pendulum/tz/zoneinfo/__init__.py
+++ /dev/null
@@ -1,16 +0,0 @@
-from .reader import Reader
-from .timezone import Timezone
-
-
-def read(name, extend=True): # type: (str, bool) -> Timezone
- """
- Read the zoneinfo structure for a given timezone name.
- """
- return Reader(extend=extend).read_for(name)
-
-
-def read_file(path, extend=True): # type: (str, bool) -> Timezone
- """
- Read the zoneinfo structure for a given path.
- """
- return Reader(extend=extend).read(path)