File: D:/Python311/Lib/test/test_zoneinfo/__pycache__/_support.cpython-311.opt-1.pyc
�
��Vc� � � � d dl Z d dlZd dlZd dlZd dlZd dlmZ ej � � Z ej � � Z ej � � Z
d� Zed� � � Ze j
d� � � Z G d� dej � � ZdS )� N)�import_fresh_modulec � ��� t j � � � t j d� � | � � �t j | � � ��fd�� � }|S )z;Decorator that ensures a function is only ever called once.Nc �P �� �5 � � � cd d d � � S # 1 swxY w Y d S �N� )�cached�locks ���/D:\Python311\Lib\test\test_zoneinfo\_support.py�innerzcall_once.<locals>.inner sv �� �
� � ��6�8�8� � � � � � � � � � � � ���� � � � � � s �
��)� threading�Lock� functools� lru_cache�wraps)�fr r r s @@r
� call_oncer
se ��� ��>���D�
&�Y�
��
&�
&�q�
)�
)�F��_�Q���� � � � � ��� �L� c �6 � ddl } t ddg�� � }|| fS )u� Retrieve two copies of zoneinfo: pure Python and C accelerated.
Because this function manipulates the import system in a way that might
be fragile or do unexpected things if it is run many times, it uses a
`call_once` decorator to ensure that this is only ever called exactly
one time — in other words, when using this function you will only ever
get one copy of each module rather than a fresh import each time.
r N�zoneinfo� _zoneinfo)�blocked)r r )�c_module� py_modules r
�get_modulesr s/ � � ����#�J��
�F�F�F�I��h��r c # �� K � t � � }t j � d|� � }| t j d<