python-iterutils 0.2.10__py3-none-any.whl → 0.2.10.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- iterutils/__init__.py +2 -2
- {python_iterutils-0.2.10.dist-info → python_iterutils-0.2.10.1.dist-info}/METADATA +1 -1
- python_iterutils-0.2.10.1.dist-info/RECORD +7 -0
- python_iterutils-0.2.10.dist-info/RECORD +0 -7
- {python_iterutils-0.2.10.dist-info → python_iterutils-0.2.10.1.dist-info}/LICENSE +0 -0
- {python_iterutils-0.2.10.dist-info → python_iterutils-0.2.10.1.dist-info}/WHEEL +0 -0
iterutils/__init__.py
CHANGED
|
@@ -624,7 +624,7 @@ def chain[T](
|
|
|
624
624
|
@overload
|
|
625
625
|
def chain_from_iterable[T](
|
|
626
626
|
iterables: Iterable[Iterable[T]],
|
|
627
|
-
threaded:
|
|
627
|
+
threaded: bool = False,
|
|
628
628
|
*,
|
|
629
629
|
async_: Literal[False] = False,
|
|
630
630
|
) -> Iterator[T]:
|
|
@@ -643,7 +643,7 @@ def chain_from_iterable[T](
|
|
|
643
643
|
*,
|
|
644
644
|
async_: Literal[False, True] = False,
|
|
645
645
|
) -> Iterator[T] | AsyncIterator[T]:
|
|
646
|
-
if async_ or
|
|
646
|
+
if async_ or not isinstance(iterables, Iterable):
|
|
647
647
|
if isinstance(iterables, Iterable):
|
|
648
648
|
return async_chain.from_iterable(iterables, threaded=threaded)
|
|
649
649
|
else:
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
LICENSE,sha256=o5242_N2TgDsWwFhPn7yr8YJNF7XsJM5NxUMtcT97bc,1100
|
|
2
|
+
iterutils/__init__.py,sha256=CGdQ5mMpLgsNZeG0b8LiHVAbrNiPGSSG5Z3FEJ5cAEg,40919
|
|
3
|
+
iterutils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
python_iterutils-0.2.10.1.dist-info/LICENSE,sha256=o5242_N2TgDsWwFhPn7yr8YJNF7XsJM5NxUMtcT97bc,1100
|
|
5
|
+
python_iterutils-0.2.10.1.dist-info/METADATA,sha256=cdqcFnwCGVdc0akHvHmy0d69NCsVpN98QexSbdU_ypI,1400
|
|
6
|
+
python_iterutils-0.2.10.1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
7
|
+
python_iterutils-0.2.10.1.dist-info/RECORD,,
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
LICENSE,sha256=o5242_N2TgDsWwFhPn7yr8YJNF7XsJM5NxUMtcT97bc,1100
|
|
2
|
-
iterutils/__init__.py,sha256=7bUS_NH2raU-_Cw-pDM224pC7je1kP1K0dnRmO4kHYU,40941
|
|
3
|
-
iterutils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
python_iterutils-0.2.10.dist-info/LICENSE,sha256=o5242_N2TgDsWwFhPn7yr8YJNF7XsJM5NxUMtcT97bc,1100
|
|
5
|
-
python_iterutils-0.2.10.dist-info/METADATA,sha256=yA2qW_0Ae5UtLUJp7u1OQzGup4hVpkKYxS4meiD-c8E,1398
|
|
6
|
-
python_iterutils-0.2.10.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
7
|
-
python_iterutils-0.2.10.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|