#7721: replace code that works only in 2.7+ with equivalent.
1 file changed