File: //usr/local/lib/python3.10/dist-packages/virtualenv/config/__pycache__/env_var.cpython-310.pyc
o
3�h� � @ s6 d dl mZ d dlmZ ddlmZ dd� ZdgZdS )� )�annotations)�suppress� )�convertc C sj d| � � � �}|�|�r3|| }tt�� d|� �}t|||�}||fW d � S 1 s.w Y dS )z�
Get the environment variable option.
:param key: the config key requested
:param as_type: the type we would like to convert it to
:param env: environment variables to use
:return:
�VIRTUALENV_zenv var N)�upper�getr � Exceptionr )�key�as_type�env�environ_key�value�source� r �D/usr/local/lib/python3.10/dist-packages/virtualenv/config/env_var.py�get_env_var s
�r N)�
__future__r �
contextlibr r r �__all__r r r r �<module> s �