diff options
author | Armin Rigo <arigo@tunes.org> | 2016-09-16 15:59:47 +0200 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2016-09-16 15:59:47 +0200 |
commit | 940a9d6ab934a2dc72d1aec1aa26af7775b529ae (patch) | |
tree | f3bf195a8f07725f2295b715b7da1faef7740573 /pypy/interpreter/generator.py | |
parent | fix bug in codewriter about passing the exitswitch variable to a call (diff) | |
download | pypy-940a9d6ab934a2dc72d1aec1aa26af7775b529ae.tar.gz pypy-940a9d6ab934a2dc72d1aec1aa26af7775b529ae.tar.bz2 pypy-940a9d6ab934a2dc72d1aec1aa26af7775b529ae.zip |
Minor test and fix
Diffstat (limited to 'pypy/interpreter/generator.py')
-rw-r--r-- | pypy/interpreter/generator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pypy/interpreter/generator.py b/pypy/interpreter/generator.py index 14e76ace60..8a36f11919 100644 --- a/pypy/interpreter/generator.py +++ b/pypy/interpreter/generator.py @@ -63,7 +63,7 @@ class GeneratorIterator(W_Root): """x.__iter__() <==> iter(x)""" return self.space.wrap(self) - def descr_send(self, w_arg=None): + def descr_send(self, w_arg): """send(arg) -> send 'arg' into generator, return next yielded value or raise StopIteration.""" return self.send_ex(w_arg) |