mirror of https://github.com/pyodide/pyodide.git
LINT
This commit is contained in:
parent
59bf78f93c
commit
1aa2fc1265
|
@ -347,7 +347,8 @@ JsProxy_GetBuffer(PyObject* o, Py_buffer* view, int flags)
|
|||
}
|
||||
|
||||
static PyObject*
|
||||
JsProxy_HasBytes(PyObject *o) {
|
||||
JsProxy_HasBytes(PyObject* o)
|
||||
{
|
||||
JsProxy* self = (JsProxy*)o;
|
||||
|
||||
if (self->bytes == NULL) {
|
||||
|
|
|
@ -20,8 +20,8 @@ _runPython(char* code)
|
|||
return pythonexc2js();
|
||||
}
|
||||
|
||||
PyObject *ret = PyObject_CallFunctionObjArgs(
|
||||
eval_code, py_code, globals, NULL);
|
||||
PyObject* ret =
|
||||
PyObject_CallFunctionObjArgs(eval_code, py_code, globals, NULL);
|
||||
|
||||
if (ret == NULL) {
|
||||
return pythonexc2js();
|
||||
|
@ -46,7 +46,9 @@ EM_JS(int, runpython_init_js, (), {
|
|||
return 0;
|
||||
});
|
||||
|
||||
int runpython_init_py() {
|
||||
int
|
||||
runpython_init_py()
|
||||
{
|
||||
PyObject* m = PyImport_ImportModule("pyodide");
|
||||
if (m == NULL) {
|
||||
return 1;
|
||||
|
|
|
@ -311,4 +311,3 @@ def test_recursive_repr(selenium):
|
|||
"except RecursionError:\n"
|
||||
" result = False\n"
|
||||
"result")
|
||||
|
||||
|
|
Loading…
Reference in New Issue