Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 73b4a7a7943026b90b3d04932ffb1efd0d6b107e authored by Larry Hastings on 10 August 2015, 04:37:20 UTC
Merged fixes for two bad bugs. This will be the new Python 3.5.0rc1.
Tip revision: 73b4a7a
reindent-rst.py
#!/usr/bin/env python3

# Make a reST file compliant to our pre-commit hook.
# Currently just remove trailing whitespace.

import sys

import patchcheck

def main(argv=sys.argv):
    patchcheck.normalize_docs_whitespace(argv[1:])

if __name__ == '__main__':
    sys.exit(main())
back to top