https://github.com/python/cpython
Raw File
Tip revision: e319f774f9e766a2b92949444a2d46081df3363a authored by Miss Islington (bot) on 02 August 2024, 13:11:22 UTC
[3.8] gh-122133: Rework pure Python socketpair tests to avoid use of importlib.reload. (GH-122493) (GH-122509)
Tip revision: e319f77
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