bpo-30149: Fix partialmethod without explicit self parameter (#1308)

3 files changed