From f5fc83abceea835f2246593a442b6a84a00a0d17 Mon Sep 17 00:00:00 2001 From: qqwqqw689 <114795525+qqwqqw689@users.noreply.github.com> Date: Fri, 26 Jul 2024 01:35:41 +0800 Subject: [PATCH] make print function form python2 to pyth0n3 (#96) Thanks! --- demo/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/api.py b/demo/api.py index 8cc64077..a6c07241 100644 --- a/demo/api.py +++ b/demo/api.py @@ -46,7 +46,7 @@ def __init__(self, tp, func): @ffi.pyexport("int(int)") def add1(n): - print n + print(n) return n + 1 ffi.cdef("""