doc: revisions to weakmethod.py