8000 change pyobject -> null, gives slightly better error message · denosaurs/deno_python@0eed1e5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0eed1e5

Browse files
committed
change pyobject -> null, gives slightly better error message
1 parent 5d1db4f commit 0eed1e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/python.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ export class Callback {
184184
// Set the Python exception (type and message)
185185
py.PyErr_SetString(errorTypeHandle, cErrorMessage);
186186

187-
return PyObject.from(null).handle;
187+
return null;
188188
}
189189
},
190190
);

0 commit comments

Comments
 (0)
0