AlkantarClanX12
Current Path : /proc/thread-self/root/lib64/python2.7/Demo/metaclasses/ |
Current File : //proc/thread-self/root/lib64/python2.7/Demo/metaclasses/Meta.pyo |
� ��^c @ s� d Z d d l Z d d d � � YZ d d d � � YZ d d d � � YZ e d d i � Z d � Z e d k r| e � n d S( s? Generic metaclass. XXX This is very much a work in progress. i����Nt MetaMethodWrapperc B s e Z d � Z d � Z RS( c C s% | | _ | | _ | j j | _ d S( N( t funct instt __name__( t selfR R ( ( s- /usr/lib64/python2.7/Demo/metaclasses/Meta.pyt __init__ s c O s t | j | j f | | � S( N( t applyR R ( R t argst kw( ( s- /usr/lib64/python2.7/Demo/metaclasses/Meta.pyt __call__ s ( R t __module__R R ( ( ( s- /usr/lib64/python2.7/Demo/metaclasses/Meta.pyR s t MetaHelperc B s e Z e Z d � Z d � Z RS( c C s | | _ d S( N( t __formalclass__( R t formalclass( ( s- /usr/lib64/python2.7/Demo/metaclasses/Meta.pyt __helperinit__ s c C s� y | j j | � } WnT t k rl y | j j d � } Wn t t f k r^ t | � n X| | | � SXt | � t j k r� | S| j | | � S( Nt __usergetattr__( R t __getattr__t AttributeErrort KeyErrort typet typest FunctionTypet __methodwrapper__( R t namet rawt ga( ( s- /usr/lib64/python2.7/Demo/metaclasses/Meta.pyR s ( R R R R R R ( ( ( s- /usr/lib64/python2.7/Demo/metaclasses/Meta.pyR s t MetaClassc B s>