From: Georg Brandl Date: Mon, 8 Jun 2009 20:25:55 +0000 (+0000) Subject: Fix markup. X-Git-Tag: v3.1rc2~34 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=10e0e301018d00ca70bef3c7ebb20cbab47bd2e0;p=python Fix markup. --- diff --git a/Doc/tutorial/datastructures.rst b/Doc/tutorial/datastructures.rst index c2040751fe..7b718e85c0 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::