◐ Shell
clean mode source ↗

gh-100176: Tools/iobench: Remove redundant compat code for Python <= 3.2 by hugovk · Pull Request #100197 · python/cpython

Python 3.2 has been EOL since 2016-02-20 and 2.7 since 2020-01-01, so we can remove these old compatibility checks.

https://devguide.python.org/versions/

Also use f-strings and adjust some whitespace.


Ping also @pitrou who created this file with this note in 2010 in a69ba65:

This file should be kept compatible with both Python 2.6 and Python >= 3.0.