From 93a5cbd11812b9d15a00f57df86b886ebc3f48b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jouni=20Sepp=C3=A4nen?= Date: Sun, 2 Aug 2020 08:04:19 +0300 Subject: [PATCH] Remove import of py23 fron subset/__init__.py This import is causing an unsightly DeprecationWarning. I checked manually: the only names being used from py23 are open, range and zip, which are defined to be the same as the corresponding Python 3 builtins, so this should cause no visible change except for suppressing the warning. --- Lib/fontTools/subset/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Lib/fontTools/subset/__init__.py b/Lib/fontTools/subset/__init__.py index bb08a8d19..aaa22f94e 100644 --- a/Lib/fontTools/subset/__init__.py +++ b/Lib/fontTools/subset/__init__.py @@ -2,7 +2,6 @@ # # Google Author(s): Behdad Esfahbod -from fontTools.misc.py23 import * from fontTools.misc.fixedTools import otRound from fontTools import ttLib from fontTools.ttLib.tables import otTables