Name

{} (Curly braces)

Examples
# Initialize a new dictionary with the given key/value pairs
element_names = {'H': 'hydrogen', 'He': 'helium', 'Li': 'lithium'}

# Curly braces with nothing inside creates an empty dictionary
nothing_here = {}
Description
Syntax
	dict = {key0: val0, ..., keyN: valN}
Parameters
key0: val0, ..., keyN: valN
Related [] (Index brackets)
Updated on Wed Jan 18 17:32:21 2017.
Creative Commons License