Skip to content

Commit 7505db4

Browse files
committed
Move MutableMapping import from _compat to common
1 parent bac4ac0 commit 7505db4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libtmux/_compat.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# flake8: NOQA
22
import sys
33
import typing as t
4-
from collections.abc import MutableMapping
54

65
console_encoding = sys.__stdout__.encoding
76

libtmux/common.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@
1111
import subprocess
1212
import sys
1313
import typing as t
14+
from collections.abc import MutableMapping
1415
from distutils.version import LooseVersion
1516

1617
from . import exc
17-
from ._compat import MutableMapping, console_to_str, str_from_console
18+
from ._compat import console_to_str, str_from_console
1819

1920
logger = logging.getLogger(__name__)
2021

0 commit comments

Comments
 (0)