Allow mmap not just for py2.6, 2.7 and 3.6+ but also 3.0+ by hugovk · Pull Request #736 · gitpython-developers/GitPython
This version check only checks the minor number: the y in Python x.y.
So mmap is available for Python 2.6 and 2.7, and 3.6+, but not for 3.0 to 3.5.
But I think the intent was to have memory maps for Python 2.6 and up, including all of Python 3.x (and 4.x etc.).
As Python 2.6 is the minimum supported version, the allow_mmap is always True for supported versions.