Author: Matti Picus <[email protected]>
Branch:
Changeset: r89259:141b5d96fb22
Date: 2016-12-28 19:00 +0200
http://bitbucket.org/pypy/pypy/changeset/141b5d96fb22/
Log: cleanup dead code (arigato)
diff --git a/pypy/objspace/std/bufferobject.py
b/pypy/objspace/std/bufferobject.py
--- a/pypy/objspace/std/bufferobject.py
+++ b/pypy/objspace/std/bufferobject.py
@@ -17,9 +17,6 @@
assert isinstance(buf, Buffer)
self.buf = buf
- def _finalize_(self):
- return self.buf.releasebuffer()
-
def buffer_w(self, space, flags):
space.check_buf_flags(flags, self.buf.readonly)
return self.buf
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit