commit | eda4e260c4e8ee851c48f230e884a34b128222ed | [log] [tgz] |
---|---|---|
author | Scott Sanderson <ssanderson@quantopian.com> | Sun Jul 05 21:10:06 2015 -0400 |
committer | Scott Sanderson <ssanderson@quantopian.com> | Sun Jul 05 21:10:06 2015 -0400 |
tree | 6d171fce3c27aff19a8cd05ad13ccdf555082107 | |
parent | 3606ef7b8b0c2ddc9eccd16a4e63be78b05dd1f1 [diff] [blame] |
DOC: Use a valid literal in README Switch example from using a set of lists (which is invalid because python lists are mutable and hence not hashable) to a set of tuples.
diff --git a/README.rst b/README.rst index fc63195..1ec01e1 100644 --- a/README.rst +++ b/README.rst
@@ -279,9 +279,9 @@ .. code-block:: python BAZ = { - [1, 2, 3, 4], - [5, 6, 7, 8], - [9, 10, 11, 12] + (1, 2, 3, 4), + (5, 6, 7, 8), + (9, 10, 11, 12), } # yapf: disable Why Not Improve Existing Tools?