batch 2 - update Python idiom to 3.7 using pyupgrade (#11342) * batch 2 - update Python idiom to 3.7 using pyupgrade * Apply suggestions from code review (cherry picked from commit 266d9d3fb0) Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
266d9d3fb0