diff --git a/docs/language/core.rst b/docs/language/core.rst index 544926e..dd6d8f3 100644 --- a/docs/language/core.rst +++ b/docs/language/core.rst @@ -672,21 +672,22 @@ Returns ``True`` if *x* is odd. Raises ``TypeError`` if False -.. _pos?-fn: +.. _partition-fn: partition --------- Usage: ``(partition n coll)`` -Chunks coll into tuples of length n. The remainder, if any, is not included. +Chunks coll into tuples of length *n*. The remainder, if any, is not included. .. code-block:: hy => (list (partition 3 (range 10))) [(0, 1, 2), (3, 4, 5), (6, 7, 8)] -.. _partition-fn: + +.. _pos?-fn: pos? ----