[Python-checkins] GH-98831: Modernize a ton of simpler instructions (#100545)