• Stephan Hoyer's avatar
    Include memo in the documented signature of copy.deepcopy() · 0200928e
    Stephan Hoyer yazdı
    * Include memo in the documented signature of copy.deepcopy()
    
    The memo argument is mentioned lower on the doc page under writing a
    `__deepcopy__` method, but is not included in the documented function signature.
    This makes it easy to miss, and can lead to incorrect/buggy implementations of
    `__deepcopy__` -- which is exatly what just happpend to me!
    0200928e
copy.rst 3.31 KB