If your code won’t work for older versions you can make an explicit check that the version of python is greater than whatever you need.