|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/22697/root/usr/lib64/python2.4/site-packages/rhpl/ |
Upload File : |
mò
m(/Bc @ s\ d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d S( t SimpleBoolDescriptorc B s) t Z d Z d „ Z d „ Z d „ Z RS( s@ A data descriptor which constrains its values to True and False.c C s
t | _ d S( N( t Falset selft val( R ( ( t6 /usr/lib64/python2.4/site-packages/rhpl/descriptors.pyt __init__ s c C s | i S( N( R R ( R t objt objtype( ( R t __get__ s c C s0 t | t t ƒ ƒ p
t d ‚ n | | _ d S( Ns value is not True of False( t
isinstanceR t typet Truet TypeErrorR ( R R R ( ( R t __set__ s
( t __name__t
__module__t __doc__R R R
( ( ( R R s t BoolDescriptorc B s t Z d Z e ƒ Z d „ Z RS( se A data descriptor which constrains its values to True
and False, and may be set immutable
c C s. | i o
t d ‚ n t i | | | ƒ d S( Ns attribute is immutable( R t immutablet RuntimeErrorR R
R R ( R R R ( ( R R
% s
( R R R R R R
( ( ( R R s t TristateDescriptorc B s t Z d Z e ƒ Z d „ Z RS( sr A data descriptor which constrains its values to True,
False, and None, and which may be set immutable
c C sU | i o
t d ‚ n t | t d ƒ ƒ o d | _ d Sn t i | | | ƒ d S( Ns attribute is immutable(
R R R R R R
t NoneR R
R ( R R R ( ( R R
0 s
( R R R R R R
( ( ( R R * s t NonNegativeIntegerDescriptorc B s) t Z d Z e ƒ Z d „ Z d „ Z RS( sK A data descriptor which constrains its values to non-negative integers
c C s• | i o
t d ‚ n t | t t d ƒ ƒ ƒ o0 t | t t d ƒ ƒ ƒ o t t | ƒ ‚ n | d j o t d t | ƒ ‚ n | | _ d S( Ns attribute is immutablei i s %s is less than 0(
R R R R R R
t intt longR t
ValueError( R R R ( ( R R
>