mirror of
https://github.com/python/cpython.git
synced 2024-11-25 19:03:49 +08:00
Fix markup.
This commit is contained in:
parent
3440c42f33
commit
10e0e30101
@ -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::
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user