Skip to content

Commit ee4320f

Browse files
authored
Use collections.abc.Iterator in typeannotator to align with PEP 585. (#881)
1 parent 4c95d11 commit ee4320f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

comtypes/tools/codegenerator/typeannotator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import abc
22
import keyword
3-
from collections.abc import Iterable, Sequence
4-
from typing import Any, Generic, Iterator, Optional, Protocol, TypeVar
3+
from collections.abc import Iterable, Iterator, Sequence
4+
from typing import Any, Generic, Optional, Protocol, TypeVar
55

66
from comtypes.tools import typedesc
77

0 commit comments

Comments
 (0)