diff --git a/docs/writing/style.rst b/docs/writing/style.rst index 111206f..042bdce 100644 --- a/docs/writing/style.rst +++ b/docs/writing/style.rst @@ -350,6 +350,8 @@ Instead, use a list comprehension: .. code-block:: python four_lists = [[] for __ in xrange(4)] + +Note: Use range() instead of xrange() in Python 3 Create a string from a list ~~~~~~~~~~~~~~~~~~~~~~~~~~~