File: D:/Python311/Lib/site-packages/pip/_vendor/requests/__pycache__/help.cpython-311.pyc
�
�mi� � �� � d Z ddlZddlZddlZddlZddlmZ ddlmZ ddlm Z
dZdZ ddl
mZ ddlZddlZn# e$ r dZdZdZY nw xY wd� Zd � Zd
� Zedk r e� � dS dS )z'Module containing bug report helper(s).� N)�idna)�urllib3� )�__version__)� pyopensslc �� � t j � � } | dk rt j � � }n�| dk r�d� t j j t j j t j j � � }t j j dk r&d�
|t j j g� � }n6| dk rt j � � }n| dk rt j � � }nd}| |d �S )
a� Return a dict with the Python implementation and version.
Provide both the name and the version of the Python implementation
currently running. For example, on CPython 3.10.3 it will return
{'name': 'CPython', 'version': '3.10.3'}.
This function works best on CPython and PyPy: in particular, it probably
doesn't work for Jython or IronPython. Future investigation should be done
to work out the correct shape of the code for those platforms.
�CPython�PyPyz{}.{}.{}�final� �Jython�
IronPython�Unknown)�name�version)�platform�python_implementation�python_version�format�sys�pypy_version_info�major�minor�micro�releaselevel�join)�implementation�implementation_versions �;D:\Python311\Lib\site-packages\pip/_vendor/requests/help.py�_implementationr s� � � �3�5�5�N���"� +�!)�!8�!:�!:��� �6� !� +�!+�!2�!2��!�'��!�'��!�'�"
� "
��
� �-��8� �%'�W�W�'��)>�)K�L�&� &�"��
�8� #� +�!)�!8�!:�!:��� �<� '� +�!)�!8�!:�!:���!*��"�/E�F�F�F� c
�F � t j � � t j � � d�} n# t $ r ddd�} Y nw xY wt � � }dt
j i}ddi}ddi}t rdt j i}t rdt j i}ddd�}t r t j t j
j d�d�}dt t dd� � i}dt t dd� � i}t j }d|�|d�ndi} | || t dut du ||||||dt"