Author: Armin Rigo <ar...@tunes.org>
Branch: 
Changeset: r78379:c9045acfde4a
Date: 2015-07-01 14:22 +0200
http://bitbucket.org/pypy/pypy/changeset/c9045acfde4a/

Log:    Return 1, not '(int)&W_IntObject1'

diff --git a/pypy/module/cpyext/buffer.py b/pypy/module/cpyext/buffer.py
--- a/pypy/module/cpyext/buffer.py
+++ b/pypy/module/cpyext/buffer.py
@@ -38,4 +38,4 @@
     'C') or Fortran-style (fortran is 'F') contiguous or either one
     (fortran is 'A').  Return 0 otherwise."""
     # PyPy only supports contiguous Py_buffers for now.
-    return space.wrap(1)
+    return 1
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to