golden hour
/opt/saltstack/salt/lib/python3.10/site-packages/urllib3/packages/backports/__pycache__
⬆️ Go Up
Upload
File/Folder
Size
Actions
__init__.cpython-310.pyc
180 B
Del
OK
makefile.cpython-310.pyc
1.25 KB
Del
OK
weakref_finalize.cpython-310.pyc
4.76 KB
Del
OK
Edit: weakref_finalize.cpython-310.pyc
o �xe� � @ sF d Z ddlmZ ddlZddlZddlmZ dgZG dd� de�Z dS )zd backports.weakref_finalize ~~~~~~~~~~~~~~~~~~ Backports the Python 3 ``weakref.finalize`` method. � )�absolute_importN)�ref�weakref_finalizec @ s� e Zd ZdZdZi ZdZe�� Z dZ dZG dd� de�Z dd� Zdd d �Zdd� Zd d� Zedd� �Zedd� �Zejdd� �Zdd� Zedd� �Zedd� �ZdS )r a Class for finalization of weakrefable objects finalize(obj, func, *args, **kwargs) returns a callable finalizer object which will be called when obj is garbage collected. The first time the finalizer is called it evaluates func(*arg, **kwargs) and returns the result. After this the finalizer is dead, and calling it just returns None. When the program exits any remaining finalizers for which the atexit attribute is true will be run in reverse order of creation. By default atexit is true. � Fc @ s e Zd ZdZdS )zweakref_finalize._Info)�weakref�func�args�kwargs�atexit�indexN)�__name__� __module__�__qualname__� __slots__r r r �_/opt/saltstack/salt/lib/python3.10/site-packages/urllib3/packages/backports/weakref_finalize.py�_Info( s r c O sp | j sdd l}|�| j� dt_ | �� }t|| �|_||_||_ |p#d |_ d|_t| j�|_ || j| <