summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial/datastructures.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-06-08 20:25:55 (GMT)
committerGeorg Brandl <georg@python.org>2009-06-08 20:25:55 (GMT)
commit10e0e301018d00ca70bef3c7ebb20cbab47bd2e0 (patch)
treeadb8ee016bbc0f49a405080222e191b0410a1cea /Doc/tutorial/datastructures.rst
parent3440c42f330efc4fc4751b2e921507fb007591f1 (diff)
downloadcpython-10e0e301018d00ca70bef3c7ebb20cbab47bd2e0.zip
cpython-10e0e301018d00ca70bef3c7ebb20cbab47bd2e0.tar.gz
cpython-10e0e301018d00ca70bef3c7ebb20cbab47bd2e0.tar.bz2
Fix markup.
Diffstat (limited to 'Doc/tutorial/datastructures.rst')
-rw-r--r--Doc/tutorial/datastructures.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/tutorial/datastructures.rst b/Doc/tutorial/datastructures.rst
index c204075..7b718e8 100644
--- a/Doc/tutorial/datastructures.rst
+++ b/Doc/tutorial/datastructures.rst
@@ -365,9 +365,9 @@ with no duplicate elements. Basic uses include membership testing and
eliminating duplicate entries. Set objects also support mathematical operations
like union, intersection, difference, and symmetric difference.
-Curly braces or the :func:`set` function can be use to create sets. Note:
-To create an empty set you have to use set(), not {}; the latter creates
-an empty dictionary, a data structure that we discuss in the next section.
+Curly braces or the :func:`set` function can be use to create sets. Note: To
+create an empty set you have to use ``set()``, not ``{}``; the latter creates an
+empty dictionary, a data structure that we discuss in the next section.
Here is a brief demonstration::