Skip to content

Commit 20965e3

Browse files
committed
use Callable, Iterator from typing
1 parent 4f76bb1 commit 20965e3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

adafruit_minimqtt/matcher.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,10 @@
1212
"""
1313

1414
try:
15-
from typing import Any, Dict
15+
from typing import Any, Dict, Callable, Iterator
1616
except ImportError:
1717
pass
1818

19-
from collections.abc import Callable, Iterator
20-
2119

2220
class MQTTMatcher:
2321
"""Intended to manage topic filters including wildcards.

0 commit comments

Comments
 (0)