MCPcopy Index your code
hub / github.com/python/cpython / 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
315def join(split_command):
316 """Return a shell-escaped string from *split_command*."""
317 return ' '.join(quote(arg) for arg in split_command)
318
319
320def quote(s):

Callers 10

walkFunction · 0.70
format_helpMethod · 0.70
test_recursive_globMethod · 0.50
_kill_processMethod · 0.50
checkMethod · 0.50
test_joinMethod · 0.50
setUpMethod · 0.50

Calls 2

quoteFunction · 0.70
joinMethod · 0.45

Tested by 8

test_recursive_globMethod · 0.40
_kill_processMethod · 0.40
checkMethod · 0.40
test_joinMethod · 0.40
setUpMethod · 0.40

Used in the wild real call sites across dependent graphs

searching dependent graphs…