Skip to content

Commit e898a2c

Browse files
committed
Import Callable from typing not collections.
1 parent 2b9e1dd commit e898a2c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

domdf_python_tools/iterative.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@
3232
# stdlib
3333
import itertools
3434
import textwrap
35-
from collections import Callable
36-
from typing import Any, Generator, Iterable, Iterator, List, Optional, Sequence, Tuple, Type, Union
35+
from typing import Any, Callable, Generator, Iterable, Iterator, List, Optional, Sequence, Tuple, Type, Union
3736

3837
# 3rd party
3938
from natsort import natsorted, ns # type: ignore

0 commit comments

Comments
 (0)