3939 from collections .abc import Iterable
4040
4141 # pylint: disable=deprecated-class
42- from typing import Callable , Any , Iterator , NoReturn , Hashable
42+ from typing import Callable , Any , NoReturn
43+ from collections .abc import Iterator , Hashable
4344 from _typeshed import SupportsRichComparison
4445 from _typeshed import SupportsRichComparisonT
4546 from typing_extensions import TypeGuard
@@ -71,6 +72,8 @@ class Sequence(Generic[_T_co]):
7172 functional transformations and reductions in a data pipeline style
7273 """
7374
75+ # pylint: disable=unknown-option-value
76+ # pylint: disable=too-many-positional-arguments
7477 def __init__ (
7578 self ,
7679 sequence : Iterable [_T_co ],
@@ -442,6 +445,8 @@ def cartesian(
442445 ) -> Sequence [tuple [_T_co , _T1 , _T2 , _T3 , _T4 ]]:
443446 ...
444447
448+ # pylint: disable=unknown-option-value
449+ # pylint: disable=too-many-positional-arguments
445450 @overload
446451 def cartesian (
447452 self ,
@@ -454,6 +459,8 @@ def cartesian(
454459 ) -> Sequence [tuple [_T_co , _T1 , _T2 , _T3 , _T4 , _T5 ]]:
455460 ...
456461
462+ # pylint: disable=unknown-option-value
463+ # pylint: disable=too-many-positional-arguments
457464 @overload
458465 def cartesian (
459466 self ,
@@ -1757,6 +1764,8 @@ def dict(self, default=None): # pyright: ignore[reportInconsistentOverload]
17571764 return self .to_dict (default = default ) # type: ignore
17581765
17591766 # pylint: disable=too-many-locals
1767+ # pylint: disable=unknown-option-value
1768+ # pylint: disable=too-many-positional-arguments
17601769 def to_file (
17611770 self ,
17621771 path : str ,
0 commit comments