MCPcopy Index your code
hub / github.com/python/cpython / write_cert_reference

Function write_cert_reference

Lib/test/certdata/make_ssl_certs.py:225–230  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

223
224
225def write_cert_reference(path):
226 import _ssl
227 refdata = pprint.pformat(_ssl._test_decode_cert(path))
228 print(refdata)
229 with open(path + '.reference', 'w') as f:
230 print(refdata, file=f)
231
232
233if __name__ == '__main__':

Callers 1

make_ssl_certs.pyFile · 0.85

Calls 2

pformatMethod · 0.80
openFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…