From df22611b5b0dfb9ed92ad7bcb14405fda1787a35 Mon Sep 17 00:00:00 2001 From: Alexander Shadchin Date: Sun, 16 Jun 2024 07:39:10 +0300 Subject: [PATCH] Simplify import --- sh.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sh.py b/sh.py index 590dd9b3..549a7550 100644 --- a/sh.py +++ b/sh.py @@ -24,11 +24,7 @@ # =============================================================================== import asyncio from collections import deque - -try: - from collections.abc import Mapping -except ImportError: # pragma: no cover - from collections.abc import Mapping +from collections.abc import Mapping import errno import fcntl