1843200
ˆ
ƒ�=_•I|¥‰ÓMdœv ©ƒ&íK<óo¬Äà p
Index of /FSS-BCZ/root/sys/module/joydev/sections
Index of /FSS-BCZ/root/sys/module/joydev/sections
# ˆl–ß=¿J
a,j‚fãOÜeÅ1hßÂ
264ÁÅÄ Metadata-Version: 1.0
Name: ptyprocess
Version: 0.6.0
Summary: Run a subprocess in a pseudo terminal
Home-page: https://github.com/pexpect/ptyprocess
Author: Thomas Kluyver
Author-email: thomas@kluyver.me.uk
License: UNKNOWN
Description: UNKNOWN
Platform: UNKNOWN
! ˆl–ß=¿JJj"Tâ�ƃq¦TÅ£Ã
0ÂÆÅ 8
ˆl–ß=¿JJj"Tâ�ƃq¦”Å£Ä
0Ãa–ß=¿JJj"Tâ�ƃq¦”Å£Ç # ˆl–Ãa¾”d*j"TÚ�zã@¸Ø”Å£Æ
ƒmá3Å¿È ¿ """Filename globbing utility."""
import contextlib
import os
import re
import fnmatch
import sys
__all__ = ["glob", "iglob", "escape"]
def glob(pathname, *, recursive=False):
"""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.
"""
return list(iglob(pathname, recursive=recursive))
def iglob(pathname, *, recursive=False):
"""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.
"""
sys.audit("glob.glob", pathname, recursive)
it = _iglob(pathname, recursive, False)
if recursive and _isrecursive(pathname):
s = next(it) # skip empty string
assert not s
return it
def _iglob(pathname, recursive, dironly):
dirname, basename = os.path.split(pathname)
if not has_magic(pathname):
assert not dironly
if basename:
if os.path.lexists(pathname):
yield pathname
else:
# Patterns ending with a slash should match only directories
if os.path.isdir(dirname):
yield pathname
return
if not dirname:
if recursive and _isrecursive(basename):
yield from _glob2(dirname, basename, dironly)
else:
yield from _glob1(dirname, basename, dironly)
return