Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudpipe/cloudpickle
/ _escape
Function
_escape
tests/cloudpickle_test.py:77–79 ·
view source on GitHub ↗
(raw_filepath)
Source
from the content-addressed store, hash-verified
75
76
77
def
_escape(raw_filepath):
78
# Ugly hack to embed filepaths in code templates for windows
79
return
raw_filepath.replace(
"\\"
, r
"\\\\"
)
80
81
82
def
_maybe_remove(list_, item):
Callers
2
test_module_locals_behavior
Method · 0.85
test_load_dynamic_module_in_grandchild_process
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected