MCPcopy Index your code
hub / github.com/python/cpython / __init__

Method __init__

Lib/collections/__init__.py:113–117  ·  view source on GitHub ↗

Initialize an ordered dictionary. The signature is the same as regular dictionaries. Keyword argument order is preserved.

(self, other=(), /, **kwds)

Source from the content-addressed store, hash-verified

111 return self
112
113 def __init__(self, other=(), /, **kwds):
114 '''Initialize an ordered dictionary. The signature is the same as
115 regular dictionaries. Keyword argument order is preserved.
116 '''
117 self.__update(other, **kwds)
118
119 def __setitem__(self, key, value,
120 dict_setitem=dict.__setitem__, proxy=_proxy, Link=_Link):

Callers 1

test_initMethod · 0.95

Calls

no outgoing calls

Tested by 1

test_initMethod · 0.76