tzh
2024-08-22 c7d0944258c7d0943aa7b2211498fd612971ce27
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
L\¬Qc@s¶dZddlZddlZddlZddlZy
eZWn'ek
ridefd„ƒYZnXddgZ    d„Z
d„Z d    „Z d
„Z ejd ƒZd „ZdS( sFilename globbing utility.iÿÿÿÿNt_unicodecBseZRS((t__name__t
__module__(((sL/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/glob.pyR stglobtiglobcCstt|ƒƒS(sReturn a list of paths matching a pathname pattern.
 
    The pattern may contain simple shell-style wildcards a la
    fnmatch. However, unlike fnmatch, filenames starting with a
    dot are special cases that are not matched by '*' and '?'
    patterns.
 
    (tlistR(tpathname((sL/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/glob.pyRs    ccsüt|ƒs*tjj|ƒr&|VndStjj|ƒ\}}|snxttj|ƒD] }|Vq[WdS||kr•t|ƒr•t|ƒ}n    |g}t|ƒr³t}nt}x<|D]4}x+|||ƒD]}tjj    ||ƒVqÖWqÀWdS(sReturn an iterator which yields the paths matching a pathname pattern.
 
    The pattern may contain simple shell-style wildcards a la
    fnmatch. However, unlike fnmatch, filenames starting with a
    dot are special cases that are not matched by '*' and '?'
    patterns.
 
    N(
t    has_magictostpathtlexiststsplittglob1tcurdirRtglob0tjoin(Rtdirnametbasenametnametdirst glob_in_dir((sL/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/glob.pyRs$                   cCsµ|stj}nt|tƒrUt|tƒ rUt|tjƒpLtjƒƒ}nytj|ƒ}Wntj    k
rgSX|ddkr¥t
d„|ƒ}nt j
||ƒS(Nit.cSs|ddkS(NiR((tx((sL/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/glob.pyt<lambda>Ms( RR t
isinstanceRtunicodetsystgetfilesystemencodingtgetdefaultencodingtlistdirterrortfiltertfnmatch(Rtpatterntnames((sL/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/glob.pyR Bs cCsT|dkr(tjj|ƒrP|gSn(tjjtjj||ƒƒrP|gSgS(Nt(RR    tisdirR
R(RR((sL/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/glob.pyRPs  
!s[*?[]cCstj|ƒdk    S(N(t magic_checktsearchtNone(ts((sL/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/glob.pyR^s(t__doc__RRtreR RRt    NameErrortobjectt__all__RRR RtcompileR%R(((sL/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/glob.pyt<module>s    
          %