Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r535:68247c482b6d
Date: 2012-06-27 10:27 +0200
http://bitbucket.org/cffi/cffi/changeset/68247c482b6d/

Log:    Fix.

diff --git a/demo/_curses.py b/demo/_curses.py
--- a/demo/_curses.py
+++ b/demo/_curses.py
@@ -206,7 +206,7 @@
 initscr = Window
 
 
-def setupterm(term=None, fd=-1):
+def setupterm(term=ffi.NULL, fd=-1):
     if fd < 0:
         import sys
         fd = sys.stdout.fileno()
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to