From 239909dc4c2f6fa273f7c0ec27f33b4d6d2391ac Mon Sep 17 00:00:00 2001 From: Alois Mahdal Date: Tue, 24 Sep 2013 14:01:59 +0200 Subject: [PATCH] Clarify presence of a two-element tuple. --- docs/writing/style.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/writing/style.rst b/docs/writing/style.rst index e48956a..a631e4a 100644 --- a/docs/writing/style.rst +++ b/docs/writing/style.rst @@ -273,7 +273,8 @@ Unpacking ~~~~~~~~~ If you know the length of a list or tuple, you can assign names to its -elements with unpacking: +elements with unpacking. For example, since you know that ``enumerate()`` +will provide a tuple of two elements for each item in list: .. code-block:: python