bpo-44114: Remove redundant cast. (GH-26098)

(cherry picked from commit e0c614e5fd017ca43cab55a9f8490133750c704f)

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
1 file changed