Skip to content

Commit 4425ad4

Browse files
committed
fix partition docstring
1 parent 3747d8b commit 4425ad4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

streamz/core.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -957,12 +957,12 @@ class partition(Stream):
957957
Maximum partition size
958958
timeout: int or float, optional
959959
Number of seconds after which a partition will be emitted,
960-
even if it's size is less than ``n``. If ``None`` (default),
961-
a partition will be emitted only when it's size reaches ``n``.
960+
even if its size is less than ``n``. If ``None`` (default),
961+
a partition will be emitted only when its size reaches ``n``.
962962
key: hashable or callable, optional
963963
Emit items with the same key together as a separate partition.
964964
If ``key`` is callable, partition will be identified by ``key(x)``,
965-
otherwise by ``key[x]``. Defaults to ``None``.
965+
otherwise by ``x[key]``. Defaults to ``None``.
966966
967967
Examples
968968
--------

0 commit comments

Comments
 (0)