Fix pypy semantic action bug in CALL_METHOD

This commit is contained in:
rocky
2016-08-14 22:59:34 -04:00
parent 0958dc889d
commit a65443ee02
3 changed files with 7 additions and 5 deletions

View File

@@ -0,0 +1,4 @@
# Bug in PyPy was not hacndling CALL_METHOD_xxx like
# CALL_FUNCTION_XXX
def truncate(self, size=None):
self.db.put(self.key, '', txn=self.txn, dlen=self.len - size, doff=size)