HEX
Server: Apache
System: FreeBSD www860.sakura.ne.jp 13.0-RELEASE-p14 FreeBSD 13.0-RELEASE-p14 #2: Mon Dec 9 13:54:55 JST 2024 root@www5301.sakura.ne.jp:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
User: yoyo0427 (1306)
PHP: 8.3.8
Disabled: NONE
Upload Files
File: //usr/local/lib/python2.7/glob.pyc
�
M��ac@s�dZddlZddlZddlZddlZy
eZWn'ek
ridefd��YZnXddgZ	d�Z
d�Zd	�Zd
�Z
ejd�Zd�ZdS(
sFilename globbing utility.i����Nt_unicodecBseZRS((t__name__t
__module__(((s /usr/local/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((s /usr/local/lib/python2.7/glob.pyRs	ccstjj|�\}}t|�se|rGtjj|�ra|Vqantjj|�ra|VndS|s�xttj|�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(tostpathtsplitt	has_magictlexiststisdirtglob1tcurdirRtglob0tjoin(Rtdirnametbasenametnametdirstglob_in_dir((s /usr/local/lib/python2.7/glob.pyRs*				
cCs�|stj}nt|t�rUt|t�rUt|tj�pLtj��}nytj|�}Wntj	k
rgSX|ddkr�t
d�|�}ntj
||�S(Nit.cSs|ddkS(NiR((tx((s /usr/local/lib/python2.7/glob.pyt<lambda>Rt(RRt
isinstanceRtunicodetsystgetfilesystemencodingtgetdefaultencodingtlistdirterrortfiltertfnmatch(Rtpatterntnames((s /usr/local/lib/python2.7/glob.pyR
GscCsT|dkr(tjj|�rP|gSn(tjjtjj||��rP|gSgS(NR(RRRRR(RR((s /usr/local/lib/python2.7/glob.pyRUs
!s[*?[]cCstj|�dk	S(N(tmagic_checktsearchtNone(ts((s /usr/local/lib/python2.7/glob.pyR
cs(t__doc__RRtreR"RRt	NameErrortobjectt__all__RRR
RtcompileR%R
(((s /usr/local/lib/python2.7/glob.pyt<module>s

		*