[pypy-commit] pypy default: Remove duplicate

arigo pypy.commits at gmail.com
Tue Oct 18 04:39:15 EDT 2016


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r87852:4885b6872771
Date: 2016-10-18 10:38 +0200
http://bitbucket.org/pypy/pypy/changeset/4885b6872771/

Log:	Remove duplicate

diff --git a/pypy/module/cpyext/typeobject.py b/pypy/module/cpyext/typeobject.py
--- a/pypy/module/cpyext/typeobject.py
+++ b/pypy/module/cpyext/typeobject.py
@@ -820,8 +820,6 @@
                 pto_as.c_bf_getreadbuffer = base_as.c_bf_getreadbuffer
             if not pto_as.c_bf_getsegcount:
                 pto_as.c_bf_getsegcount = base_as.c_bf_getsegcount
-            if not pto_as.c_bf_getcharbuffer:
-                pto_as.c_bf_getcharbuffer = base_as.c_bf_getcharbuffer
             if not pto_as.c_bf_releasebuffer:
                 pto_as.c_bf_releasebuffer = base_as.c_bf_releasebuffer
     finally:


More information about the pypy-commit mailing list