Debian Codegraph @

doc/docstrings/pycurl_version_info.rst

raw
1 version_info() -> tuple
2
3 Returns a 12-tuple with the version info.
4
5 Corresponds to `curl_version_info`_ in libcurl. Returns a tuple of
6 information which is similar to the ``curl_version_info_data`` struct
7 returned by ``curl_version_info()`` in libcurl.
8
9 Example usage::
10
11 >>> import pycurl
12 >>> pycurl.version_info()
13 (3, '7.33.0', 467200, 'amd64-portbld-freebsd9.1', 33436, 'OpenSSL/0.9.8x',
14 0, '1.2.7', ('dict', 'file', 'ftp', 'ftps', 'gopher', 'http', 'https',
15 'imap', 'imaps', 'pop3', 'pop3s', 'rtsp', 'smtp', 'smtps', 'telnet',
16 'tftp'), None, 0, None)
17
18 .. _curl_version_info: https://curl.haxx.se/libcurl/c/curl_version_info.html