MCPcopy Index your code
hub / github.com/RustPython/RustPython / __init__

Method __init__

Lib/collections/__init__.py:114–118  ·  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

112 return self
113
114 def __init__(self, other=(), /, **kwds):
115 '''Initialize an ordered dictionary. The signature is the same as
116 regular dictionaries. Keyword argument order is preserved.
117 '''
118 self.__update(other, **kwds)
119
120 def __setitem__(self, key, value,
121 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