From 59d3b3395d0b5b483bc93ebb528b8a10e928e03a Mon Sep 17 00:00:00 2001 From: squidfunk Date: Sun, 24 Sep 2023 17:50:57 +0200 Subject: [PATCH] Improved extension compatibility with Python 3.8 --- material/extensions/emoji.py | 2 ++ src/extensions/emoji.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/material/extensions/emoji.py b/material/extensions/emoji.py index b0ed3cab8..c8c955cc4 100644 --- a/material/extensions/emoji.py +++ b/material/extensions/emoji.py @@ -18,6 +18,8 @@ # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS # IN THE SOFTWARE. +from __future__ import annotations + import codecs import functools import material diff --git a/src/extensions/emoji.py b/src/extensions/emoji.py index b0ed3cab8..c8c955cc4 100644 --- a/src/extensions/emoji.py +++ b/src/extensions/emoji.py @@ -18,6 +18,8 @@ # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS # IN THE SOFTWARE. +from __future__ import annotations + import codecs import functools import material