From cbadac91cde2e47cf5a22f1c1670630c0aeaa399 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Thu, 26 Jan 2012 13:25:31 +0100 Subject: [PATCH] tweaked doc --- doc/functions/random.rst | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/functions/random.rst b/doc/functions/random.rst index f3b8565..104493d 100644 --- a/doc/functions/random.rst +++ b/doc/functions/random.rst @@ -7,11 +7,12 @@ .. versionadded:: 1.6 String and integer handling was added in Twig 1.6. -The ``random`` function returns a random value depending on the supplied parameter type: +The ``random`` function returns a random value depending on the supplied +parameter type: -* a random item from a Traversable or array -* a random character from a string -* a random integer between 0 and the integer parameter (inclusive) +* a random item from a sequence; +* a random character from a string; +* a random integer between 0 and the integer parameter (inclusive). .. code-block:: jinja -- 1.7.2.5