PyDocs

Nav

Data Types

UserDict

  • UserDict(**kwargs)
  • UserDict(mapping, /, **kwargs)
  • UserDict(iterable, /, **kwargs)
Class that simulates a dictionary. The instance’s contents are kept in a regular dictionary, which is accessible via the data attribute of UserDict instances. If arguments are provided, they are used to initialize data, like a regular dictionary.
Members of UserDict

d

data
A real dictionary used to store the contents of the UserDict class.

p

popitem
Remove and return a (key, value) pair as a 2-tuple.
0 Examples
No examples for collections/UserDict.
See Also
No see-alsos for collections/UserDict
0 Notes
No notes for UserDict