Skip to content

Commit

Permalink
make print function form python2 to pyth0n3 (python-cffi#96)
Browse files Browse the repository at this point in the history
Thanks!
  • Loading branch information
qqwqqw689 authored Jul 25, 2024
1 parent 2ac63f8 commit f5fc83a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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("""
Expand Down

0 comments on commit f5fc83a

Please sign in to comment.