Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ffd4d47

Browse files
committed
Add a docstring at the top of Tools/ssl/make_ssl_data.py
1 parent 5f6213b commit ffd4d47

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Tools/ssl/make_ssl_data.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
#! /usr/bin/env python3
22

3+
"""
4+
This script should be called *manually* when we want to upgrade SSLError
5+
`library` and `reason` mnemnonics to a more recent OpenSSL version.
6+
7+
It takes two arguments:
8+
- the path to the OpenSSL include files' directory
9+
(e.g. openssl-1.0.1-beta3/include/openssl/)
10+
- the path to the C file to be generated
11+
(probably Modules/_ssl_data.h)
12+
"""
13+
314
import datetime
415
import os
516
import re

0 commit comments

Comments
 (0)