ACC SHELL
Path : /usr/lib/python/ |
|
Current File : //usr/lib/python/weakref.pyc |
Ñò
oÄMc @ sÕ d Z d d k Z d d k l Z l Z l Z l Z l Z l Z l Z d d k
l Z e e f Z d d d d d d
d d d
d d g Z
d e i f d „ ƒ YZ d e f d „ ƒ YZ d e i f d „ ƒ YZ d S( s{ Weak reference support for Python.
This module is an implementation of PEP 205:
http://www.python.org/dev/peps/pep-0205/
iÿÿÿÿN( t getweakrefcountt getweakrefst reft proxyt CallableProxyTypet ProxyTypet
ReferenceType( t ReferenceErrorR R R R t WeakKeyDictionaryR R R R t
ProxyTypest WeakValueDictionaryc B sË e Z d Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d d „ Z d „ Z d
„ Z
d „ Z d „ Z d
„ Z d „ Z d „ Z d „ Z d d „ Z d d „ Z d „ Z d „ Z RS( s› Mapping class that references values weakly.
Entries in the dictionary will be discarded when no strong
reference to the value exists anymore
c O s5 t | ƒ d „ } | | _ t i i | | | Ž d S( Nc S s+ | ƒ } | d j o | i | i =n d S( N( t Nonet datat key( t wrt selfreft self( ( s /usr/lib/python2.6/weakref.pyt remove. s
( R t _removet UserDictt __init__( R t argst kwR ( ( s /usr/lib/python2.6/weakref.pyR - s c C s2 | i | ƒ } | d j o
t | ‚ n | Sd S( N( R R t KeyError( R R
t o( ( s /usr/lib/python2.6/weakref.pyt __getitem__5 s
c C s5 y | i | ƒ } Wn t j
o t SX| d j S( N( R R t FalseR ( R R
R ( ( s /usr/lib/python2.6/weakref.pyt __contains__<