Viewing File: /opt/alt/python35/lib64/python3.5/site-packages/yarl/__pycache__/__init__.cpython-35.opt-1.pyc
Zlx @ s d d l Z d d l m Z m Z d d l m Z d d l m Z m Z m Z m
Z
m Z d d l m
Z
m Z d d l Z d d l m Z m Z d Z d Z d
d d d
d d d d
i Z e Z Gd d d Z Gd d d Z d S) N)MappingSequence)
ip_address)SplitResult parse_qslurljoinurlsplit
urlunsplit) MultiDictMultiDictProxy )_Quoter _Unquoterz1.1.1URLZhttpP Zhttpsi ZwsZwssc @ s= e Z d Z d Z d d Z e d d Z d d Z d S) 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 sG | | _ y | j | _ Wn t k
r6 d | _ Yn X| j | _ d S)N )wrapped__doc__AttributeError__name__name)selfr r /__init__.py__init__( s
zcached_property.__init__c C s[ | d k r | S| j j | j | } | | k r8 | S| j | } | | j | j <| S)N)_cachegetr r )r instowner _sentinelvalr r r __get__0 s zcached_property.__get__c C s t d d S)Nzcached property is read-only)r )r r valuer r r __set__: s zcached_property.__set__N)r
__module____qualname__r r sentinelr"