-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
Closed
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir
Description
Documentation
https://docs.python.org/3/reference/datamodel.html
3.2.7.1. Dictionaries
The documentation says the following:
"Dictionaries are mutable; they can be created by the {...} notation."
However any Python interpreter shows the following result:
print(type({}))
<class 'dict'>
print(type({...}))
<class 'set'>
I suspect the documentation mixes up the empty set and empty dictionary creation.
Linked PRs
Metadata
Metadata
Assignees
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir