MCPcopy
hub / github.com/django/django / __init__

Method __init__

django/utils/datastructures.py:10–11  ·  view source on GitHub ↗
(self, iterable=None)

Source from the content-addressed store, hash-verified

8 """
9
10 def __init__(self, iterable=None):
11 self.dict = dict.fromkeys(iterable or ())
12
13 def add(self, item):
14 self.dict[item] = None

Callers 2

__init__Method · 0.45
__init__Method · 0.45

Calls 1

fromkeysMethod · 0.80

Tested by

no test coverage detected