From e6fb422d4563f9d018e235442c517a3bf58bfd26 Mon Sep 17 00:00:00 2001 From: Kuldeep Singh Date: Mon, 25 Jan 2016 22:28:46 +0530 Subject: [PATCH] Changed xrange to range Since xrange no longer works in python3 --- docs/writing/style.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/writing/style.rst b/docs/writing/style.rst index 111206f..cb2e030 100644 --- a/docs/writing/style.rst +++ b/docs/writing/style.rst @@ -349,7 +349,7 @@ Instead, use a list comprehension: .. code-block:: python - four_lists = [[] for __ in xrange(4)] + four_lists = [[] for __ in range(4)] Create a string from a list ~~~~~~~~~~~~~~~~~~~~~~~~~~~