style(cmd): pythonize cmd-args filtering for PY26, improve docstring
style(cmd): pythonize cmd-args filtering for PY26, improve docstring

Apply codereview comments of #541.
breavo/GitPython,jeblair/GitPython,gitpython-developers/gitpython,jeblair/GitPython,gitpython-developers/GitPython,gitpython-developers/GitPython,gitpython-developers/gitpython,breavo/GitPython