python-iterutils 0.2.10__tar.gz → 0.2.10.1__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-iterutils
3
- Version: 0.2.10
3
+ Version: 0.2.10.1
4
4
  Summary: Python another itertools.
5
5
  Home-page: https://github.com/ChenyangGao/python-modules/tree/main/python-iterutils
6
6
  License: MIT
@@ -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: Literal[False] = False,
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 threaded or not isinstance(iterables, Iterable):
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:
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "python-iterutils"
3
- version = "0.2.10"
3
+ version = "0.2.10.1"
4
4
  description = "Python another itertools."
5
5
  authors = ["ChenyangGao <wosiwujm@gmail.com>"]
6
6
  license = "MIT"