MCPcopy
hub / github.com/catherinedevlin/ipython-sql / quote

Function quote

bootstrap.py:71–75  ·  view source on GitHub ↗
(c)

Source from the content-addressed store, hash-verified

69
70if sys.platform == 'win32':
71 def quote(c):
72 if ' ' in c:
73 return '"%s"' % c # work around spawn lamosity on windows
74 else:
75 return c
76else:
77 def quote (c):
78 return c

Callers 1

bootstrap.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected