From: Fabien Potencier Date: Thu, 26 Jan 2012 12:25:31 +0000 (+0100) Subject: tweaked doc X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=cbadac91cde2e47cf5a22f1c1670630c0aeaa399;p=web%2Fkonrad%2Ftwig.git tweaked doc --- 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