This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jimjjewett
Recipients
Date 2007-03-18.22:48:39
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
"""
def _update_class(oldclass, newclass):
    ...
    for name in oldnames & newnames - {"__dict__", "__doc__"}:
        setattr(oldclass, name,  _update(olddict[name], newdict[name]))
    return oldclass
"""

I assume __doc__ is skipped because a string can't be updated in place.  But since oldclass is returned, __doc__ should still be replaced with the updated documentation.
History
Date User Action Args
2007-08-23 14:52:35adminlinkissue1683288 messages
2007-08-23 14:52:35admincreate