diff -r 7ecee9e0dc58 Doc/library/operator.rst --- a/Doc/library/operator.rst Wed Feb 12 12:40:22 2014 +0200 +++ b/Doc/library/operator.rst Wed Feb 12 12:41:08 2014 +0000 @@ -228,16 +228,6 @@ Set the value of *a* at index *b* to *c*. -Example: Build a dictionary that maps the ordinals from ``0`` to ``255`` to -their character equivalents. - - >>> d = {} - >>> keys = range(256) - >>> vals = map(chr, keys) - >>> map(operator.setitem, [d]*len(keys), keys, vals) # doctest: +SKIP - -.. XXX: find a better, readable, example - .. function:: length_hint(obj, default=0) Return an estimated length for the object *o*. First trying to return its