File: //proc/2/cwd/proc/2/root/proc/2/root/usr/lib/python2.4/Demo/imputil/knee.pyc
mò
‚=5Dc @ s” d Z d k Z d k Z d k Z d d d d „ Z d „ Z d „ Z d „ Z d d „ Z d „ Z
d „ Z e i Z
e i Z e e _ e e _ d S(
s An Python re-implementation of hierarchical module import.
This code is intended to be read, not executed. However, it does work
-- all you need to do to enable it is "import knee".
(The name is a pun on the klunkier predecessor of this module, "ni".)
Nc C sd t | ƒ } t | | ƒ \ } } t | | ƒ } | p | Sn t
| d ƒ o t | | ƒ n | S( Nt __path__( t determine_parentt globalst parentt find_head_packaget namet qt tailt load_tailt mt fromlistt hasattrt ensure_fromlist( R R t localsR
R R R R ( ( t' /usr/lib/python2.4/Demo/imputil/knee.pyt import_hook s c C s½ | p | i d ƒ o d Sn | d } | i d ƒ o, t i | } | | i j p t ‚ | Sn d | j oE | i d ƒ } | | } t i | } | i | j p t ‚ | Sn d S( Nt __name__R t .( R t has_keyt Nonet pnamet syst modulesR t __dict__t AssertionErrort rfindt iR ( R R R R ( ( R R s
c C sÞ d | j o+ | i d ƒ } | | } | | d } n
| } d } | o d | i | f } n | } t | | | ƒ } | o | | f Sn | o7 | } d } t | | | ƒ } | o | | f SqÍ n t d | ‚ d S( NR i t s %s.%ss No module named ( R t findR t headR R R t qnamet
import_moduleR R t ImportError( R R R R R R R ( ( R R ( s&