Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudpipe/cloudpickle
/ _maybe_remove
Function
_maybe_remove
tests/cloudpickle_test.py:82–87 ·
view source on GitHub ↗
(list_, item)
Source
from the content-addressed store, hash-verified
80
81
82
def
_maybe_remove(list_, item):
83
try
:
84
list_.remove(item)
85
except
ValueError:
86
pass
87
return
list_
88
89
90
def
test_extract_class_dict():
Callers
1
test_pickle_constructs_from_module_registered_for_pickling_by_value
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected