Skip to content

Commit a3f8beb

Browse files
committed
fix: Remove stderr for Python
1 parent dafd4db commit a3f8beb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lua/debugprint/filetypes.lua

+3-2
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,12 @@ return {
116116
mid_var = "$",
117117
right_var = '"',
118118
},
119+
-- Don't print to stderr by default, because it requires 'import sys'
119120
["python"] = {
120121
left = 'print(f"',
121-
right = '", file=sys.stderr)',
122+
right = '")',
122123
mid_var = "{",
123-
right_var = '}", file=sys.stderr)',
124+
right_var = '}")',
124125
},
125126
["ruby"] = {
126127
left = 'STDERR.puts "',

0 commit comments

Comments
 (0)