Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/bslatkin/effectivepython
/ get_subject
Method
get_subject
example_code/item_029.py:200–201 ·
view source on GitHub ↗
(self, name)
Source
from the content-addressed store, hash-verified
198
self._subjects = defaultdict(Subject)
199
200
def
get_subject(self, name):
201
return
self._subjects[name]
202
203
def
average_grade(self):
204
total, count = 0, 0
Callers
1
item_029.py
File · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected