[3.11] gh-94430: Allow params named `module` or `self` with custom C names in AC (GH-94431) (#94649)

(cherry picked from commit 8bbd70b4d130f060f87e3f53810dc747a49fa369)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
3 files changed