[pypy-commit] pypy py3.5: remove paramter to W_Deque.copy (reubano, plan_rich)
plan_rich
pypy.commits at gmail.com
Sun Oct 9 05:39:10 EDT 2016
Author: Richard Plangger <planrichi at gmail.com>
Branch: py3.5
Changeset: r87657:ed20d5312f0a
Date: 2016-10-09 11:38 +0200
http://bitbucket.org/pypy/pypy/changeset/ed20d5312f0a/
Log: remove paramter to W_Deque.copy (reubano, plan_rich)
diff --git a/pypy/module/_collections/interp_deque.py b/pypy/module/_collections/interp_deque.py
--- a/pypy/module/_collections/interp_deque.py
+++ b/pypy/module/_collections/interp_deque.py
@@ -176,7 +176,7 @@
self.append(w_obj)
def add(self, w_iterable):
- copied = self.copy(self)
+ copied = self.copy()
copied.extend(w_iterable)
return self.space.wrap(copied)
More information about the pypy-commit
mailing list