관리-도구
편집 파일: _url.cpython-311.pyc
� �܋f/� � �� � d dl Z d dlZd dlZd dlmZmZ d dlmZ d dlm Z d dl mZmZm Z mZmZmZ d dlZd dlmZmZ ddlmZmZ d d d d d�Z e� � Zded efd�Z G d� d� � Zd� Ze G d� d� � � � Zd� ZdZ e j! e � � d� � � a" e j! e � � d� � � a#ed� � � Z$ed� � � Z%ee e d�d�� � Z&dS )� N)�Mapping�Sequence)�suppress)� ip_address)�SplitResult� parse_qsl�quote�urljoin�urlsplit� urlunsplit)� MultiDict�MultiDictProxy� )�_Quoter� _Unquoter�P i� )�http�https�ws�wss�obj�returnc � � d| _ | S )N�yarl)� __module__)r s �@/opt/cloudlinux/venv/lib64/python3.11/site-packages/yarl/_url.py�rewrite_moduler s � ��C�N��J� c �( � e Zd ZdZd� Zefd�Zd� ZdS )�cached_propertyaR Use as a class method decorator. It operates almost exactly like the Python `@property` decorator, but it puts the result of the method it decorates into the instance dict after the first call, effectively replacing the function it decorates with an instance variable. It is, in Python parlance, a data descriptor. c �v � || _ |j | _ n# t $ r d| _ Y nw xY w|j | _ d S )N� )�wrapped�__doc__�AttributeError�__name__�name)�selfr# s r �__init__zcached_property.__init__! sM � ���� �"�?�D�L�L��� � � ��D�L�L�L� �����$�� � � s � �*�*c � � |�| S |j � | j |� � }||ur|S | � |� � }||j | j <