diff options
Diffstat (limited to 'six.py')
-rw-r--r-- | six.py | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -500,10 +500,12 @@ else: def iterlists(d, **kw): return iter(d.iterlists(**kw)) -iterkeys.__doc__ = """Return an iterator over the keys of a dictionary.""" -itervalues.__doc__ = """Return an iterator over the values of a dictionary.""" -iteritems.__doc__ = """Return an iterator over the (key, value) pairs of a dictionary.""" -iterlists.__doc__ = """Return an iterator over the (key, [values]) pairs of a dictionary.""" +_add_doc(iterkeys, "Return an iterator over the keys of a dictionary.") +_add_doc(itervalues, "Return an iterator over the values of a dictionary.") +_add_doc(iteritems, + "Return an iterator over the (key, value) pairs of a dictionary.") +_add_doc(iterlists, + "Return an iterator over the (key, [values]) pairs of a dictionary.") if PY3: |