diff options
| author | Ezio Melotti <ezio.melotti@gmail.com> | 2012-11-17 12:56:29 +0200 |
|---|---|---|
| committer | Ezio Melotti <ezio.melotti@gmail.com> | 2012-11-17 12:56:29 +0200 |
| commit | 29b67bd25a1b781749bea5e22e80dcbe41f05dec (patch) | |
| tree | 6b8cb29b82b6890ac5f98c25fdf45878e9cd86fb /Lib/weakref.py | |
| parent | b5477a0109194b7c8500037e063bfd29dca03391 (diff) | |
| parent | 444b8a182b5a690fdb3e4d28ca8a61de27949178 (diff) | |
| download | cpython-29b67bd25a1b781749bea5e22e80dcbe41f05dec.tar.gz | |
Merge updates about dir() with 3.3.
Diffstat (limited to 'Lib/weakref.py')
| -rw-r--r-- | Lib/weakref.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/weakref.py b/Lib/weakref.py index fcb6b74d1b..339fcf4718 100644 --- a/Lib/weakref.py +++ b/Lib/weakref.py @@ -153,8 +153,7 @@ class WeakValueDictionary(collections.MutableMapping): """ with _IterationGuard(self): - for wr in self.data.values(): - yield wr + yield from self.data.values() def values(self): with _IterationGuard(self): |
