mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-03-18 12:32:25 +08:00
Fixing flake8 E261 errors
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
from typing import Mapping
|
||||
import sys
|
||||
|
||||
errorcode = ... # type: Mapping[int, str]
|
||||
errorcode = ... # type: Mapping[int, str]
|
||||
|
||||
EPERM = ... # type: int
|
||||
ENOENT = ... # type: int
|
||||
|
||||
@@ -25,8 +25,8 @@ class Logger:
|
||||
level = ... # type: int
|
||||
parent = ... # type: Union[Logger, PlaceHolder]
|
||||
propagate = ... # type: bool
|
||||
handlers = ... # type: List[Handler]
|
||||
disabled = ... # type: int
|
||||
handlers = ... # type: List[Handler]
|
||||
disabled = ... # type: int
|
||||
def setLevel(self, lvl: Union[int, str]) -> None: ...
|
||||
def isEnabledFor(self, lvl: int) -> bool: ...
|
||||
def getEffectiveLevel(self) -> int: ...
|
||||
|
||||
@@ -18,19 +18,19 @@ class _ContextManager(Generic[_C]):
|
||||
exc_tb: Optional[TracebackType]) -> bool: ...
|
||||
|
||||
|
||||
ACCESS_READ = ... # type: int
|
||||
ACCESS_WRITE = ... # type: int
|
||||
ACCESS_COPY = ... # type: int
|
||||
ACCESS_READ = ... # type: int
|
||||
ACCESS_WRITE = ... # type: int
|
||||
ACCESS_COPY = ... # type: int
|
||||
|
||||
ALLOCATIONGRANULARITY = ... # type: int
|
||||
ALLOCATIONGRANULARITY = ... # type: int
|
||||
|
||||
if sys.platform != 'win32':
|
||||
MAP_PRIVATE = ... # type: int
|
||||
MAP_SHARED = ... # type: int
|
||||
PROT_READ = ... # type: int
|
||||
PROT_WRITE = ... # type: int
|
||||
MAP_PRIVATE = ... # type: int
|
||||
MAP_SHARED = ... # type: int
|
||||
PROT_READ = ... # type: int
|
||||
PROT_WRITE = ... # type: int
|
||||
|
||||
PAGESIZE = ... # type: int
|
||||
PAGESIZE = ... # type: int
|
||||
|
||||
class _mmap(Generic[_T]):
|
||||
if sys.platform == 'win32':
|
||||
@@ -61,7 +61,7 @@ class _mmap(Generic[_T]):
|
||||
if sys.version_info >= (3,):
|
||||
class mmap(_mmap, _ContextManager[mmap], Iterable[bytes], Container[bytes],
|
||||
Sized, Reversible[bytes]):
|
||||
closed = ... # type: bool
|
||||
closed = ... # type: bool
|
||||
def rfind(self, sub: bytes, start: int = ..., stop: int = ...) -> int: ...
|
||||
@overload
|
||||
def __getitem__(self, index: int) -> int: ...
|
||||
|
||||
@@ -6,237 +6,237 @@ _FD = Union[int, IO[str]]
|
||||
_Attr = List[Union[int, List[bytes]]]
|
||||
|
||||
# TODO constants not really documented
|
||||
B0 = ... # type: int
|
||||
B1000000 = ... # type: int
|
||||
B110 = ... # type: int
|
||||
B115200 = ... # type: int
|
||||
B1152000 = ... # type: int
|
||||
B1200 = ... # type: int
|
||||
B134 = ... # type: int
|
||||
B150 = ... # type: int
|
||||
B1500000 = ... # type: int
|
||||
B1800 = ... # type: int
|
||||
B19200 = ... # type: int
|
||||
B200 = ... # type: int
|
||||
B2000000 = ... # type: int
|
||||
B230400 = ... # type: int
|
||||
B2400 = ... # type: int
|
||||
B2500000 = ... # type: int
|
||||
B300 = ... # type: int
|
||||
B3000000 = ... # type: int
|
||||
B3500000 = ... # type: int
|
||||
B38400 = ... # type: int
|
||||
B4000000 = ... # type: int
|
||||
B460800 = ... # type: int
|
||||
B4800 = ... # type: int
|
||||
B50 = ... # type: int
|
||||
B500000 = ... # type: int
|
||||
B57600 = ... # type: int
|
||||
B576000 = ... # type: int
|
||||
B600 = ... # type: int
|
||||
B75 = ... # type: int
|
||||
B921600 = ... # type: int
|
||||
B9600 = ... # type: int
|
||||
BRKINT = ... # type: int
|
||||
BS0 = ... # type: int
|
||||
BS1 = ... # type: int
|
||||
BSDLY = ... # type: int
|
||||
CBAUD = ... # type: int
|
||||
CBAUDEX = ... # type: int
|
||||
CDSUSP = ... # type: int
|
||||
CEOF = ... # type: int
|
||||
CEOL = ... # type: int
|
||||
CEOT = ... # type: int
|
||||
CERASE = ... # type: int
|
||||
CFLUSH = ... # type: int
|
||||
CIBAUD = ... # type: int
|
||||
CINTR = ... # type: int
|
||||
CKILL = ... # type: int
|
||||
CLNEXT = ... # type: int
|
||||
CLOCAL = ... # type: int
|
||||
CQUIT = ... # type: int
|
||||
CR0 = ... # type: int
|
||||
CR1 = ... # type: int
|
||||
CR2 = ... # type: int
|
||||
CR3 = ... # type: int
|
||||
CRDLY = ... # type: int
|
||||
CREAD = ... # type: int
|
||||
CRPRNT = ... # type: int
|
||||
CRTSCTS = ... # type: int
|
||||
CS5 = ... # type: int
|
||||
CS6 = ... # type: int
|
||||
CS7 = ... # type: int
|
||||
CS8 = ... # type: int
|
||||
CSIZE = ... # type: int
|
||||
CSTART = ... # type: int
|
||||
CSTOP = ... # type: int
|
||||
CSTOPB = ... # type: int
|
||||
CSUSP = ... # type: int
|
||||
CWERASE = ... # type: int
|
||||
ECHO = ... # type: int
|
||||
ECHOCTL = ... # type: int
|
||||
ECHOE = ... # type: int
|
||||
ECHOK = ... # type: int
|
||||
ECHOKE = ... # type: int
|
||||
ECHONL = ... # type: int
|
||||
ECHOPRT = ... # type: int
|
||||
EXTA = ... # type: int
|
||||
EXTB = ... # type: int
|
||||
FF0 = ... # type: int
|
||||
FF1 = ... # type: int
|
||||
FFDLY = ... # type: int
|
||||
FIOASYNC = ... # type: int
|
||||
FIOCLEX = ... # type: int
|
||||
FIONBIO = ... # type: int
|
||||
FIONCLEX = ... # type: int
|
||||
FIONREAD = ... # type: int
|
||||
FLUSHO = ... # type: int
|
||||
HUPCL = ... # type: int
|
||||
ICANON = ... # type: int
|
||||
ICRNL = ... # type: int
|
||||
IEXTEN = ... # type: int
|
||||
IGNBRK = ... # type: int
|
||||
IGNCR = ... # type: int
|
||||
IGNPAR = ... # type: int
|
||||
IMAXBEL = ... # type: int
|
||||
INLCR = ... # type: int
|
||||
INPCK = ... # type: int
|
||||
IOCSIZE_MASK = ... # type: int
|
||||
IOCSIZE_SHIFT = ... # type: int
|
||||
ISIG = ... # type: int
|
||||
ISTRIP = ... # type: int
|
||||
IUCLC = ... # type: int
|
||||
IXANY = ... # type: int
|
||||
IXOFF = ... # type: int
|
||||
IXON = ... # type: int
|
||||
NCC = ... # type: int
|
||||
NCCS = ... # type: int
|
||||
NL0 = ... # type: int
|
||||
NL1 = ... # type: int
|
||||
NLDLY = ... # type: int
|
||||
NOFLSH = ... # type: int
|
||||
N_MOUSE = ... # type: int
|
||||
N_PPP = ... # type: int
|
||||
N_SLIP = ... # type: int
|
||||
N_STRIP = ... # type: int
|
||||
N_TTY = ... # type: int
|
||||
OCRNL = ... # type: int
|
||||
OFDEL = ... # type: int
|
||||
OFILL = ... # type: int
|
||||
OLCUC = ... # type: int
|
||||
ONLCR = ... # type: int
|
||||
ONLRET = ... # type: int
|
||||
ONOCR = ... # type: int
|
||||
OPOST = ... # type: int
|
||||
PARENB = ... # type: int
|
||||
PARMRK = ... # type: int
|
||||
PARODD = ... # type: int
|
||||
PENDIN = ... # type: int
|
||||
TAB0 = ... # type: int
|
||||
TAB1 = ... # type: int
|
||||
TAB2 = ... # type: int
|
||||
TAB3 = ... # type: int
|
||||
TABDLY = ... # type: int
|
||||
TCFLSH = ... # type: int
|
||||
TCGETA = ... # type: int
|
||||
TCGETS = ... # type: int
|
||||
TCIFLUSH = ... # type: int
|
||||
TCIOFF = ... # type: int
|
||||
TCIOFLUSH = ... # type: int
|
||||
TCION = ... # type: int
|
||||
TCOFLUSH = ... # type: int
|
||||
TCOOFF = ... # type: int
|
||||
TCOON = ... # type: int
|
||||
TCSADRAIN = ... # type: int
|
||||
TCSAFLUSH = ... # type: int
|
||||
TCSANOW = ... # type: int
|
||||
TCSBRK = ... # type: int
|
||||
TCSBRKP = ... # type: int
|
||||
TCSETA = ... # type: int
|
||||
TCSETAF = ... # type: int
|
||||
TCSETAW = ... # type: int
|
||||
TCSETS = ... # type: int
|
||||
TCSETSF = ... # type: int
|
||||
TCSETSW = ... # type: int
|
||||
TCXONC = ... # type: int
|
||||
TIOCCONS = ... # type: int
|
||||
TIOCEXCL = ... # type: int
|
||||
TIOCGETD = ... # type: int
|
||||
TIOCGICOUNT = ... # type: int
|
||||
TIOCGLCKTRMIOS = ... # type: int
|
||||
TIOCGPGRP = ... # type: int
|
||||
TIOCGSERIAL = ... # type: int
|
||||
TIOCGSOFTCAR = ... # type: int
|
||||
TIOCGWINSZ = ... # type: int
|
||||
TIOCINQ = ... # type: int
|
||||
TIOCLINUX = ... # type: int
|
||||
TIOCMBIC = ... # type: int
|
||||
TIOCMBIS = ... # type: int
|
||||
TIOCMGET = ... # type: int
|
||||
TIOCMIWAIT = ... # type: int
|
||||
TIOCMSET = ... # type: int
|
||||
TIOCM_CAR = ... # type: int
|
||||
TIOCM_CD = ... # type: int
|
||||
TIOCM_CTS = ... # type: int
|
||||
TIOCM_DSR = ... # type: int
|
||||
TIOCM_DTR = ... # type: int
|
||||
TIOCM_LE = ... # type: int
|
||||
TIOCM_RI = ... # type: int
|
||||
TIOCM_RNG = ... # type: int
|
||||
TIOCM_RTS = ... # type: int
|
||||
TIOCM_SR = ... # type: int
|
||||
TIOCM_ST = ... # type: int
|
||||
TIOCNOTTY = ... # type: int
|
||||
TIOCNXCL = ... # type: int
|
||||
TIOCOUTQ = ... # type: int
|
||||
TIOCPKT = ... # type: int
|
||||
TIOCPKT_DATA = ... # type: int
|
||||
TIOCPKT_DOSTOP = ... # type: int
|
||||
TIOCPKT_FLUSHREAD = ... # type: int
|
||||
TIOCPKT_FLUSHWRITE = ... # type: int
|
||||
TIOCPKT_NOSTOP = ... # type: int
|
||||
TIOCPKT_START = ... # type: int
|
||||
TIOCPKT_STOP = ... # type: int
|
||||
TIOCSCTTY = ... # type: int
|
||||
TIOCSERCONFIG = ... # type: int
|
||||
TIOCSERGETLSR = ... # type: int
|
||||
TIOCSERGETMULTI = ... # type: int
|
||||
TIOCSERGSTRUCT = ... # type: int
|
||||
TIOCSERGWILD = ... # type: int
|
||||
TIOCSERSETMULTI = ... # type: int
|
||||
TIOCSERSWILD = ... # type: int
|
||||
TIOCSER_TEMT = ... # type: int
|
||||
TIOCSETD = ... # type: int
|
||||
TIOCSLCKTRMIOS = ... # type: int
|
||||
TIOCSPGRP = ... # type: int
|
||||
TIOCSSERIAL = ... # type: int
|
||||
TIOCSSOFTCAR = ... # type: int
|
||||
TIOCSTI = ... # type: int
|
||||
TIOCSWINSZ = ... # type: int
|
||||
TOSTOP = ... # type: int
|
||||
VDISCARD = ... # type: int
|
||||
VEOF = ... # type: int
|
||||
VEOL = ... # type: int
|
||||
VEOL2 = ... # type: int
|
||||
VERASE = ... # type: int
|
||||
VINTR = ... # type: int
|
||||
VKILL = ... # type: int
|
||||
VLNEXT = ... # type: int
|
||||
VMIN = ... # type: int
|
||||
VQUIT = ... # type: int
|
||||
VREPRINT = ... # type: int
|
||||
VSTART = ... # type: int
|
||||
VSTOP = ... # type: int
|
||||
VSUSP = ... # type: int
|
||||
VSWTC = ... # type: int
|
||||
VSWTCH = ... # type: int
|
||||
VT0 = ... # type: int
|
||||
VT1 = ... # type: int
|
||||
VTDLY = ... # type: int
|
||||
VTIME = ... # type: int
|
||||
VWERASE = ... # type: int
|
||||
XCASE = ... # type: int
|
||||
XTABS = ... # type: int
|
||||
B0 = ... # type: int
|
||||
B1000000 = ... # type: int
|
||||
B110 = ... # type: int
|
||||
B115200 = ... # type: int
|
||||
B1152000 = ... # type: int
|
||||
B1200 = ... # type: int
|
||||
B134 = ... # type: int
|
||||
B150 = ... # type: int
|
||||
B1500000 = ... # type: int
|
||||
B1800 = ... # type: int
|
||||
B19200 = ... # type: int
|
||||
B200 = ... # type: int
|
||||
B2000000 = ... # type: int
|
||||
B230400 = ... # type: int
|
||||
B2400 = ... # type: int
|
||||
B2500000 = ... # type: int
|
||||
B300 = ... # type: int
|
||||
B3000000 = ... # type: int
|
||||
B3500000 = ... # type: int
|
||||
B38400 = ... # type: int
|
||||
B4000000 = ... # type: int
|
||||
B460800 = ... # type: int
|
||||
B4800 = ... # type: int
|
||||
B50 = ... # type: int
|
||||
B500000 = ... # type: int
|
||||
B57600 = ... # type: int
|
||||
B576000 = ... # type: int
|
||||
B600 = ... # type: int
|
||||
B75 = ... # type: int
|
||||
B921600 = ... # type: int
|
||||
B9600 = ... # type: int
|
||||
BRKINT = ... # type: int
|
||||
BS0 = ... # type: int
|
||||
BS1 = ... # type: int
|
||||
BSDLY = ... # type: int
|
||||
CBAUD = ... # type: int
|
||||
CBAUDEX = ... # type: int
|
||||
CDSUSP = ... # type: int
|
||||
CEOF = ... # type: int
|
||||
CEOL = ... # type: int
|
||||
CEOT = ... # type: int
|
||||
CERASE = ... # type: int
|
||||
CFLUSH = ... # type: int
|
||||
CIBAUD = ... # type: int
|
||||
CINTR = ... # type: int
|
||||
CKILL = ... # type: int
|
||||
CLNEXT = ... # type: int
|
||||
CLOCAL = ... # type: int
|
||||
CQUIT = ... # type: int
|
||||
CR0 = ... # type: int
|
||||
CR1 = ... # type: int
|
||||
CR2 = ... # type: int
|
||||
CR3 = ... # type: int
|
||||
CRDLY = ... # type: int
|
||||
CREAD = ... # type: int
|
||||
CRPRNT = ... # type: int
|
||||
CRTSCTS = ... # type: int
|
||||
CS5 = ... # type: int
|
||||
CS6 = ... # type: int
|
||||
CS7 = ... # type: int
|
||||
CS8 = ... # type: int
|
||||
CSIZE = ... # type: int
|
||||
CSTART = ... # type: int
|
||||
CSTOP = ... # type: int
|
||||
CSTOPB = ... # type: int
|
||||
CSUSP = ... # type: int
|
||||
CWERASE = ... # type: int
|
||||
ECHO = ... # type: int
|
||||
ECHOCTL = ... # type: int
|
||||
ECHOE = ... # type: int
|
||||
ECHOK = ... # type: int
|
||||
ECHOKE = ... # type: int
|
||||
ECHONL = ... # type: int
|
||||
ECHOPRT = ... # type: int
|
||||
EXTA = ... # type: int
|
||||
EXTB = ... # type: int
|
||||
FF0 = ... # type: int
|
||||
FF1 = ... # type: int
|
||||
FFDLY = ... # type: int
|
||||
FIOASYNC = ... # type: int
|
||||
FIOCLEX = ... # type: int
|
||||
FIONBIO = ... # type: int
|
||||
FIONCLEX = ... # type: int
|
||||
FIONREAD = ... # type: int
|
||||
FLUSHO = ... # type: int
|
||||
HUPCL = ... # type: int
|
||||
ICANON = ... # type: int
|
||||
ICRNL = ... # type: int
|
||||
IEXTEN = ... # type: int
|
||||
IGNBRK = ... # type: int
|
||||
IGNCR = ... # type: int
|
||||
IGNPAR = ... # type: int
|
||||
IMAXBEL = ... # type: int
|
||||
INLCR = ... # type: int
|
||||
INPCK = ... # type: int
|
||||
IOCSIZE_MASK = ... # type: int
|
||||
IOCSIZE_SHIFT = ... # type: int
|
||||
ISIG = ... # type: int
|
||||
ISTRIP = ... # type: int
|
||||
IUCLC = ... # type: int
|
||||
IXANY = ... # type: int
|
||||
IXOFF = ... # type: int
|
||||
IXON = ... # type: int
|
||||
NCC = ... # type: int
|
||||
NCCS = ... # type: int
|
||||
NL0 = ... # type: int
|
||||
NL1 = ... # type: int
|
||||
NLDLY = ... # type: int
|
||||
NOFLSH = ... # type: int
|
||||
N_MOUSE = ... # type: int
|
||||
N_PPP = ... # type: int
|
||||
N_SLIP = ... # type: int
|
||||
N_STRIP = ... # type: int
|
||||
N_TTY = ... # type: int
|
||||
OCRNL = ... # type: int
|
||||
OFDEL = ... # type: int
|
||||
OFILL = ... # type: int
|
||||
OLCUC = ... # type: int
|
||||
ONLCR = ... # type: int
|
||||
ONLRET = ... # type: int
|
||||
ONOCR = ... # type: int
|
||||
OPOST = ... # type: int
|
||||
PARENB = ... # type: int
|
||||
PARMRK = ... # type: int
|
||||
PARODD = ... # type: int
|
||||
PENDIN = ... # type: int
|
||||
TAB0 = ... # type: int
|
||||
TAB1 = ... # type: int
|
||||
TAB2 = ... # type: int
|
||||
TAB3 = ... # type: int
|
||||
TABDLY = ... # type: int
|
||||
TCFLSH = ... # type: int
|
||||
TCGETA = ... # type: int
|
||||
TCGETS = ... # type: int
|
||||
TCIFLUSH = ... # type: int
|
||||
TCIOFF = ... # type: int
|
||||
TCIOFLUSH = ... # type: int
|
||||
TCION = ... # type: int
|
||||
TCOFLUSH = ... # type: int
|
||||
TCOOFF = ... # type: int
|
||||
TCOON = ... # type: int
|
||||
TCSADRAIN = ... # type: int
|
||||
TCSAFLUSH = ... # type: int
|
||||
TCSANOW = ... # type: int
|
||||
TCSBRK = ... # type: int
|
||||
TCSBRKP = ... # type: int
|
||||
TCSETA = ... # type: int
|
||||
TCSETAF = ... # type: int
|
||||
TCSETAW = ... # type: int
|
||||
TCSETS = ... # type: int
|
||||
TCSETSF = ... # type: int
|
||||
TCSETSW = ... # type: int
|
||||
TCXONC = ... # type: int
|
||||
TIOCCONS = ... # type: int
|
||||
TIOCEXCL = ... # type: int
|
||||
TIOCGETD = ... # type: int
|
||||
TIOCGICOUNT = ... # type: int
|
||||
TIOCGLCKTRMIOS = ... # type: int
|
||||
TIOCGPGRP = ... # type: int
|
||||
TIOCGSERIAL = ... # type: int
|
||||
TIOCGSOFTCAR = ... # type: int
|
||||
TIOCGWINSZ = ... # type: int
|
||||
TIOCINQ = ... # type: int
|
||||
TIOCLINUX = ... # type: int
|
||||
TIOCMBIC = ... # type: int
|
||||
TIOCMBIS = ... # type: int
|
||||
TIOCMGET = ... # type: int
|
||||
TIOCMIWAIT = ... # type: int
|
||||
TIOCMSET = ... # type: int
|
||||
TIOCM_CAR = ... # type: int
|
||||
TIOCM_CD = ... # type: int
|
||||
TIOCM_CTS = ... # type: int
|
||||
TIOCM_DSR = ... # type: int
|
||||
TIOCM_DTR = ... # type: int
|
||||
TIOCM_LE = ... # type: int
|
||||
TIOCM_RI = ... # type: int
|
||||
TIOCM_RNG = ... # type: int
|
||||
TIOCM_RTS = ... # type: int
|
||||
TIOCM_SR = ... # type: int
|
||||
TIOCM_ST = ... # type: int
|
||||
TIOCNOTTY = ... # type: int
|
||||
TIOCNXCL = ... # type: int
|
||||
TIOCOUTQ = ... # type: int
|
||||
TIOCPKT = ... # type: int
|
||||
TIOCPKT_DATA = ... # type: int
|
||||
TIOCPKT_DOSTOP = ... # type: int
|
||||
TIOCPKT_FLUSHREAD = ... # type: int
|
||||
TIOCPKT_FLUSHWRITE = ... # type: int
|
||||
TIOCPKT_NOSTOP = ... # type: int
|
||||
TIOCPKT_START = ... # type: int
|
||||
TIOCPKT_STOP = ... # type: int
|
||||
TIOCSCTTY = ... # type: int
|
||||
TIOCSERCONFIG = ... # type: int
|
||||
TIOCSERGETLSR = ... # type: int
|
||||
TIOCSERGETMULTI = ... # type: int
|
||||
TIOCSERGSTRUCT = ... # type: int
|
||||
TIOCSERGWILD = ... # type: int
|
||||
TIOCSERSETMULTI = ... # type: int
|
||||
TIOCSERSWILD = ... # type: int
|
||||
TIOCSER_TEMT = ... # type: int
|
||||
TIOCSETD = ... # type: int
|
||||
TIOCSLCKTRMIOS = ... # type: int
|
||||
TIOCSPGRP = ... # type: int
|
||||
TIOCSSERIAL = ... # type: int
|
||||
TIOCSSOFTCAR = ... # type: int
|
||||
TIOCSTI = ... # type: int
|
||||
TIOCSWINSZ = ... # type: int
|
||||
TOSTOP = ... # type: int
|
||||
VDISCARD = ... # type: int
|
||||
VEOF = ... # type: int
|
||||
VEOL = ... # type: int
|
||||
VEOL2 = ... # type: int
|
||||
VERASE = ... # type: int
|
||||
VINTR = ... # type: int
|
||||
VKILL = ... # type: int
|
||||
VLNEXT = ... # type: int
|
||||
VMIN = ... # type: int
|
||||
VQUIT = ... # type: int
|
||||
VREPRINT = ... # type: int
|
||||
VSTART = ... # type: int
|
||||
VSTOP = ... # type: int
|
||||
VSUSP = ... # type: int
|
||||
VSWTC = ... # type: int
|
||||
VSWTCH = ... # type: int
|
||||
VT0 = ... # type: int
|
||||
VT1 = ... # type: int
|
||||
VTDLY = ... # type: int
|
||||
VTIME = ... # type: int
|
||||
VWERASE = ... # type: int
|
||||
XCASE = ... # type: int
|
||||
XTABS = ... # type: int
|
||||
|
||||
def tcgetattr(fd: _FD) -> _Attr: ...
|
||||
def tcsetattr(fd: _FD, when: int, attributes: _Attr) -> None: ...
|
||||
|
||||
@@ -14,18 +14,18 @@ def open_new(url: str) -> bool: ...
|
||||
def open_new_tab(url: str) -> bool: ...
|
||||
|
||||
class BaseBrowser:
|
||||
args = ... # type: List[str]
|
||||
name = ... # type: str
|
||||
basename = ... # type: str
|
||||
args = ... # type: List[str]
|
||||
name = ... # type: str
|
||||
basename = ... # type: str
|
||||
def __init__(self, name: str=...) -> None: ...
|
||||
def open(self, url: str, new: int=..., autoraise: bool=...) -> bool: ...
|
||||
def open_new(self, url: str) -> bool: ...
|
||||
def open_new_tab(self, url: str) -> bool: ...
|
||||
|
||||
class GenericBrowser(BaseBrowser):
|
||||
args = ... # type: List[str]
|
||||
name = ... # type: str
|
||||
basename = ... # type: str
|
||||
args = ... # type: List[str]
|
||||
name = ... # type: str
|
||||
basename = ... # type: str
|
||||
def __init__(self, name: str) -> None: ...
|
||||
def open(self, url: str, new: int=..., autoraise: bool=...) -> bool: ...
|
||||
|
||||
@@ -33,53 +33,53 @@ class BackgroundBrowser(GenericBrowser):
|
||||
def open(self, url: str, new: int=..., autoraise: bool=...) -> bool: ...
|
||||
|
||||
class UnixBrowser(BaseBrowser):
|
||||
raise_opts = ... # type: List[str]
|
||||
background = ... # type: bool
|
||||
redirect_stdout = ... # type: bool
|
||||
remote_args = ... # type: List[str]
|
||||
remote_action = ... # type: str
|
||||
remote_action_newwin = ... # type: str
|
||||
remote_action_newtab = ... # type: str
|
||||
raise_opts = ... # type: List[str]
|
||||
background = ... # type: bool
|
||||
redirect_stdout = ... # type: bool
|
||||
remote_args = ... # type: List[str]
|
||||
remote_action = ... # type: str
|
||||
remote_action_newwin = ... # type: str
|
||||
remote_action_newtab = ... # type: str
|
||||
def open(self, url: str, new: int=..., autoraise: bool=...) -> bool: ...
|
||||
|
||||
class Mozilla(UnixBrowser):
|
||||
raise_opts = ... # type: List[str]
|
||||
remote_args = ... # type: List[str]
|
||||
remote_action = ... # type: str
|
||||
remote_action_newwin = ... # type: str
|
||||
remote_action_newtab = ... # type: str
|
||||
background = ... # type: bool
|
||||
raise_opts = ... # type: List[str]
|
||||
remote_args = ... # type: List[str]
|
||||
remote_action = ... # type: str
|
||||
remote_action_newwin = ... # type: str
|
||||
remote_action_newtab = ... # type: str
|
||||
background = ... # type: bool
|
||||
|
||||
class Galeon(UnixBrowser):
|
||||
raise_opts = ... # type: List[str]
|
||||
remote_args = ... # type: List[str]
|
||||
remote_action = ... # type: str
|
||||
remote_action_newwin = ... # type: str
|
||||
background = ... # type: bool
|
||||
raise_opts = ... # type: List[str]
|
||||
remote_args = ... # type: List[str]
|
||||
remote_action = ... # type: str
|
||||
remote_action_newwin = ... # type: str
|
||||
background = ... # type: bool
|
||||
|
||||
if sys.version_info[:2] == (2, 7) or sys.version_info >= (3, 3):
|
||||
class Chrome(UnixBrowser):
|
||||
remote_args = ... # type: List[str]
|
||||
remote_action = ... # type: str
|
||||
remote_action_newwin = ... # type: str
|
||||
remote_action_newtab = ... # type: str
|
||||
background = ... # type: bool
|
||||
remote_args = ... # type: List[str]
|
||||
remote_action = ... # type: str
|
||||
remote_action_newwin = ... # type: str
|
||||
remote_action_newtab = ... # type: str
|
||||
background = ... # type: bool
|
||||
|
||||
class Opera(UnixBrowser):
|
||||
raise_opts = ... # type: List[str]
|
||||
remote_args = ... # type: List[str]
|
||||
remote_action = ... # type: str
|
||||
remote_action_newwin = ... # type: str
|
||||
remote_action_newtab = ... # type: str
|
||||
background = ... # type: bool
|
||||
raise_opts = ... # type: List[str]
|
||||
remote_args = ... # type: List[str]
|
||||
remote_action = ... # type: str
|
||||
remote_action_newwin = ... # type: str
|
||||
remote_action_newtab = ... # type: str
|
||||
background = ... # type: bool
|
||||
|
||||
class Elinks(UnixBrowser):
|
||||
remote_args = ... # type: List[str]
|
||||
remote_action = ... # type: str
|
||||
remote_action_newwin = ... # type: str
|
||||
remote_action_newtab = ... # type: str
|
||||
background = ... # type: bool
|
||||
redirect_stdout = ... # type: bool
|
||||
remote_args = ... # type: List[str]
|
||||
remote_action = ... # type: str
|
||||
remote_action_newwin = ... # type: str
|
||||
remote_action_newtab = ... # type: str
|
||||
background = ... # type: bool
|
||||
redirect_stdout = ... # type: bool
|
||||
|
||||
class Konqueror(BaseBrowser):
|
||||
def open(self, url: str, new: int=..., autoraise: bool=...) -> bool: ...
|
||||
@@ -91,7 +91,7 @@ class WindowsDefault(BaseBrowser):
|
||||
def open(self, url: str, new: int=..., autoraise: bool=...) -> bool: ...
|
||||
|
||||
class MacOSX(BaseBrowser):
|
||||
name = ... # type: str
|
||||
name = ... # type: str
|
||||
def __init__(self, name: str) -> None: ...
|
||||
def open(self, url: str, new: int=..., autoraise: bool=...) -> bool: ...
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
from typing import Any
|
||||
|
||||
version = ... # type: Any
|
||||
version = ... # type: Any
|
||||
|
||||
class ErrorHandler:
|
||||
def error(self, exception): ...
|
||||
@@ -34,17 +34,17 @@ class DTDHandler:
|
||||
class EntityResolver:
|
||||
def resolveEntity(self, publicId, systemId): ...
|
||||
|
||||
feature_namespaces = ... # type: Any
|
||||
feature_namespace_prefixes = ... # type: Any
|
||||
feature_string_interning = ... # type: Any
|
||||
feature_validation = ... # type: Any
|
||||
feature_external_ges = ... # type: Any
|
||||
feature_external_pes = ... # type: Any
|
||||
all_features = ... # type: Any
|
||||
property_lexical_handler = ... # type: Any
|
||||
property_declaration_handler = ... # type: Any
|
||||
property_dom_node = ... # type: Any
|
||||
property_xml_string = ... # type: Any
|
||||
property_encoding = ... # type: Any
|
||||
property_interning_dict = ... # type: Any
|
||||
all_properties = ... # type: Any
|
||||
feature_namespaces = ... # type: Any
|
||||
feature_namespace_prefixes = ... # type: Any
|
||||
feature_string_interning = ... # type: Any
|
||||
feature_validation = ... # type: Any
|
||||
feature_external_ges = ... # type: Any
|
||||
feature_external_pes = ... # type: Any
|
||||
all_features = ... # type: Any
|
||||
property_lexical_handler = ... # type: Any
|
||||
property_declaration_handler = ... # type: Any
|
||||
property_dom_node = ... # type: Any
|
||||
property_xml_string = ... # type: Any
|
||||
property_encoding = ... # type: Any
|
||||
property_interning_dict = ... # type: Any
|
||||
all_properties = ... # type: Any
|
||||
|
||||
Reference in New Issue
Block a user