Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davispuh/MySQL-for-Python-3
/ quote
Function
quote
distribute_setup.py:42–45 ·
view source on GitHub ↗
(arg)
Source
from the content-addressed store, hash-verified
40
# quoting arguments if windows
41
if
sys.platform ==
'win32'
:
42
def
quote(arg):
43
if
' '
in arg:
44
return
'"%s"'
% arg
45
return
arg
46
args = [quote(arg)
for
arg in args]
47
return
os.spawnl(os.P_WAIT, sys.executable, *args) == 0
48
Callers
1
_python_cmd
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected