make PYTHON workaround uniform

This commit is contained in:
scito
2023-01-01 17:25:24 +01:00
parent 67c4f737c4
commit a3bda6ff8e
5 changed files with 18 additions and 17 deletions

View File

@@ -18,7 +18,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
from __future__ import annotations # for compatibility with PYTHON < 3.11
from __future__ import annotations # workaround for PYTHON <= 3.10
import io
import os
import sys