Which python?

I notice that all the ansible .py files with shebang lines run /usr/bin/python, except for one, which picks up whatever python is on your $PATH:

./utils/module_docs.py:#!/usr/bin/env python

Is this intentional?

modules use /usr/bin/python to enable the ansible_python_interpreter
functionality, other files like bin/ansible, inventory scripts, etc
can use /usr/bin/env or are customized by the installation.