summaryrefslogtreecommitdiffstats
path: root/Lib/http
diff options
context:
space:
mode:
authorPhilip Jenvey <pjenvey@underboss.org>2012-10-01 22:34:31 (GMT)
committerPhilip Jenvey <pjenvey@underboss.org>2012-10-01 22:34:31 (GMT)
commitfd0d3e5d25cf9dcb751a329cf390388e0dbd8da2 (patch)
tree2a0f83ce2ce3a894d27a6330ecb731bb0fc6fc76 /Lib/http
parent8bfcf51b5d0ca5a0bbd7045c318f5aa31e5f7de8 (diff)
downloadcpython-fd0d3e5d25cf9dcb751a329cf390388e0dbd8da2.zip
cpython-fd0d3e5d25cf9dcb751a329cf390388e0dbd8da2.tar.gz
cpython-fd0d3e5d25cf9dcb751a329cf390388e0dbd8da2.tar.bz2
more yield from
patch by Serhiy Storchaka
Diffstat (limited to 'Lib/http')
-rw-r--r--Lib/http/cookiejar.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/http/cookiejar.py b/Lib/http/cookiejar.py
index 901e762..a77dc3f 100644
--- a/Lib/http/cookiejar.py
+++ b/Lib/http/cookiejar.py
@@ -1193,8 +1193,7 @@ def deepvalues(mapping):
pass
else:
mapping = True
- for subobj in deepvalues(obj):
- yield subobj
+ yield from deepvalues(obj)
if not mapping:
yield obj