Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ join
Function
join
Lib/shlex.py:315–317 ·
view source on GitHub ↗
Return a shell-escaped string from *split_command*.
(split_command)
Source
from the content-addressed store, hash-verified
313
314
315
def
join(split_command):
316
""
"Return a shell-escaped string from *split_command*."
""
317
return
' '
.join(quote(arg)
for
arg in split_command)
318
319
320
def
quote(s):
Callers
8
walk
Function · 0.70
format_help
Method · 0.70
test_with_bound_and_unbound_methods
Method · 0.50
test_recursive_glob
Method · 0.50
test_copytree_with_exclude
Method · 0.50
test_copytree_arg_types_of_ignore
Method · 0.50
_kill_process
Method · 0.50
setUp
Method · 0.50
Calls
2
quote
Function · 0.70
join
Method · 0.45
Tested by
6
test_with_bound_and_unbound_methods
Method · 0.40
test_recursive_glob
Method · 0.40
test_copytree_with_exclude
Method · 0.40
test_copytree_arg_types_of_ignore
Method · 0.40
_kill_process
Method · 0.40
setUp
Method · 0.40