Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonInTheRiver/DiffSinger
/ __del__
Method
__del__
utils/indexed_datasets.py:21–23 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
19
raise
IndexError(
'index out of range'
)
20
21
def
__del__(self):
22
if
self.data_file:
23
self.data_file.close()
24
25
def
__getitem__(self, i):
26
self.check_index(i)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected