Skip to content

Commit f4fc413

Browse files
author
Christopher Doris
committed
simpler jlstr
1 parent e408894 commit f4fc413

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pysrc/juliacall/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def args_from_config():
189189
jl_eval.argtypes = [c.c_char_p]
190190
jl_eval.restype = c.c_void_p
191191
def jlstr(x):
192-
return 'raw"' + x.replace('"', '\\"').replace('\\', '\\\\') + '"'
192+
return 'raw"' + x + '"'
193193
script = '''
194194
try
195195
Base.require(Main, :CompilerSupportLibraries_jll)

0 commit comments

Comments
 (0)