Python: Fix syntax error when = is used as a format fill character
#21274
+48,275
−38,235
= is used as a format fill character
#21274