cpython: ed6da2a8361c (original) (raw)

--- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -266,14 +266,17 @@ are always available. They are listed h .. _func-dict: -.. function:: dict([arg]) +.. function:: dict(**kwarg)

.. function:: dir([object])

--- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -2114,33 +2114,41 @@ Dictionaries can be created by placing a pairs within braces, for example: {'jack': 4098, 'sjoerd': 4127} or {4098:[](#l2.4) 'jack', 4127: 'sjoerd'}, or by the :class:dict constructor. -.. class:: dict([arg]) -

+

+

These are the operations that dictionaries support (and therefore, custom