[3.10] bpo-44600: Fix line numbers for pattern matching cleanup code (GH-27346) (GH-27356)



(cherry picked from commit 4214f470f0cb9b6fef9a90758756fbc00ba95b5a)


Co-authored-by: Charles Burkland <charles.aburkland@gmail.com>

Automerge-Triggered-By: GH:brandtbucher
3 files changed