[Python-checkins] r73302 - python/branches/py3k/Doc/tutorial/datastructures.rst

georg.brandl python-checkins at python.org
Mon Jun 8 22:25:56 CEST 2009


Author: georg.brandl
Date: Mon Jun 8 22:25:55 2009
New Revision: 73302
Log:
Fix markup.
Modified:
 python/branches/py3k/Doc/tutorial/datastructures.rst
Modified: python/branches/py3k/Doc/tutorial/datastructures.rst
==============================================================================
--- python/branches/py3k/Doc/tutorial/datastructures.rst	(original)
+++ python/branches/py3k/Doc/tutorial/datastructures.rst	Mon Jun 8 22:25:55 2009
@@ -365,9 +365,9 @@
 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::
 


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /