AlkantarClanX12
Current Path : /proc/self/root/opt/alt/python35/lib64/python3.5/__pycache__/ |
Current File : //proc/self/root/opt/alt/python35/lib64/python3.5/__pycache__/glob.cpython-35.opt-1.pyc |
��Yf� � @ s� d Z d d l Z d d l Z d d l Z d d d g Z d d d d � Z d d d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z e j d � Z e j d � Z d d � Z d d � Z d d � Z d d � Z d S)zFilename globbing utility.� N�glob�iglob�escape� recursiveFc C s t t | d | �� S)ay Return 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. If recursive is true, the pattern '**' will match any files and zero or more directories and subdirectories. r )�listr )�pathnamer � r �)/opt/alt/python35/lib64/python3.5/glob.pyr s c C s1 t | | � } | r- t | � r- t | � } | S)a� Return 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. If recursive is true, the pattern '**' will match any files and zero or more directories and subdirectories. )�_iglob�_isrecursive�next)r r �it�sr r r r s c c sN t j j | � \ } } t | � s_ | rD t j j | � r[ | Vn t j j | � r[ | Vd S| s� | r� t | � r� t | | � Ed Hn t | | � Ed Hd S| | k r� t | � r� t | | � } n | g } t | � r| r� t | � r� t } qt } n t } x<