mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Fix typo.
This commit is contained in:
parent
2fea9b961d
commit
448f20b8b1
1 changed files with 1 additions and 1 deletions
|
@ -371,7 +371,7 @@ 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
|
||||
Curly braces or the :func:`set` function can be used 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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue