관리-도구
편집 파일: __init__.cpython-37.pyc
B ��Zlx � @ s� d dl Z d dlmZmZ d dlmZ d dlmZmZm Z m Z mZ d dlm Z mZ d dlZddlmZmZ dZd Zd dd dd�Ze� ZG d d� d�ZG dd� d�ZdS )� N)�Mapping�Sequence)� ip_address)�SplitResult� parse_qsl�urljoin�urlsplit� urlunsplit)� MultiDict�MultiDictProxy� )�_Quoter� _Unquoterz1.1.1)�URL�P i� )�http�https�ws�wssc @ s, e Zd ZdZdd� Zefdd�Zdd� 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 C s: || _ y|j| _W n tk r, d| _Y nX |j| _d S )N� )�wrapped�__doc__�AttributeError�__name__�name)�selfr � r �@/opt/alt/python37/lib64/python3.7/site-packages/yarl/__init__.py�__init__( s zcached_property.__init__c C sB |d kr| S |j �| j|�}||k r(|S | �|�}||j | j<