In [1]: import ssl
In [2]: context = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2)
AttributeError Traceback (most recent call last)
<ipython-input-2-13c9bad66150> in <module>()
----> 1 context = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2)
AttributeError: 'module' object has no attribute 'SSLContext'
Версия для Python: 2.7.6