diff -r a5368cfbea0e Doc/library/operator.rst --- a/Doc/library/operator.rst Sat Aug 09 20:04:19 2014 -0700 +++ b/Doc/library/operator.rst Sun Aug 10 15:17:08 2014 +0100 @@ -242,7 +242,7 @@ >>> d = {} >>> keys = range(256) >>> vals = map(chr, keys) - >>> map(operator.setitem, [d]*len(keys), keys, vals) # doctest: +SKIP + >>> list(map(operator.setitem, [d]*len(keys), keys, vals)) # doctest: +SKIP .. XXX: find a better, readable, example