python-filewrap 0.1__tar.gz → 0.1.0.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.
- {python_filewrap-0.1 → python_filewrap-0.1.0.1}/PKG-INFO +1 -1
- {python_filewrap-0.1 → python_filewrap-0.1.0.1}/filewrap/__init__.py +4 -4
- {python_filewrap-0.1 → python_filewrap-0.1.0.1}/pyproject.toml +1 -1
- {python_filewrap-0.1 → python_filewrap-0.1.0.1}/LICENSE +0 -0
- {python_filewrap-0.1 → python_filewrap-0.1.0.1}/filewrap/py.typed +0 -0
- {python_filewrap-0.1 → python_filewrap-0.1.0.1}/readme.md +0 -0
|
@@ -354,7 +354,7 @@ def bytes_iter_skip(
|
|
|
354
354
|
/,
|
|
355
355
|
size: int = -1,
|
|
356
356
|
callback: None | Callable[[int], Any] = None,
|
|
357
|
-
) -> Iterator[
|
|
357
|
+
) -> Iterator[Buffer]:
|
|
358
358
|
it = iter(it)
|
|
359
359
|
if size == 0:
|
|
360
360
|
return it
|
|
@@ -378,7 +378,7 @@ async def bytes_async_iter_skip(
|
|
|
378
378
|
/,
|
|
379
379
|
size: int = -1,
|
|
380
380
|
callback: None | Callable[[int], Any] = None,
|
|
381
|
-
) -> AsyncIterator[
|
|
381
|
+
) -> AsyncIterator[Buffer]:
|
|
382
382
|
it = aiter(ensure_aiter(it))
|
|
383
383
|
if size == 0:
|
|
384
384
|
return it
|
|
@@ -604,7 +604,7 @@ def bytes_ensure_part_iter(
|
|
|
604
604
|
it: Iterable[Buffer],
|
|
605
605
|
/,
|
|
606
606
|
partsize: int = COPY_BUFSIZE,
|
|
607
|
-
) -> Iterator[Buffer
|
|
607
|
+
) -> Iterator[Buffer]:
|
|
608
608
|
n = partsize
|
|
609
609
|
for b in it:
|
|
610
610
|
m = memoryview(b)
|
|
@@ -632,7 +632,7 @@ async def bytes_ensure_part_async_iter(
|
|
|
632
632
|
it: Iterable[Buffer] | AsyncIterable[Buffer],
|
|
633
633
|
/,
|
|
634
634
|
partsize: int = COPY_BUFSIZE,
|
|
635
|
-
) -> AsyncIterator[Buffer
|
|
635
|
+
) -> AsyncIterator[Buffer]:
|
|
636
636
|
n = partsize
|
|
637
637
|
async for b in ensure_aiter(it):
|
|
638
638
|
m = memoryview(b)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|