Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
fromkeys
Method · 0.80
Tested by
no test coverage detected