Add a docstring at the top of Tools/ssl/make_ssl_data.py

This commit is contained in:
Antoine Pitrou 2012-06-22 22:07:01 +02:00
parent 5f6213be2d
commit ffd4d47d0b
1 changed files with 11 additions and 0 deletions

View File

@ -1,5 +1,16 @@
#! /usr/bin/env python3
"""
This script should be called *manually* when we want to upgrade SSLError
`library` and `reason` mnemnonics to a more recent OpenSSL version.
It takes two arguments:
- the path to the OpenSSL include files' directory
(e.g. openssl-1.0.1-beta3/include/openssl/)
- the path to the C file to be generated
(probably Modules/_ssl_data.h)
"""
import datetime
import os
import re