def dictdoc(method):
    "A decorator making reuse of the ordinary dict's docstrings more concise."
    dict_method = getattr(dict, method.__name__)
    if hasattr(dict_method, '__doc__'):
        method.__doc__ = dict_method.__doc__
    return method
A decorator making reuse of the ordinary dict's docstrings more concise.
recipes/Python/576998_Sorted_dictionary/recipe-576998.py