Mercurial > code > home > repos > light9
view stubs/twisted/internet/interfaces.pyi @ 1923:feafbe49ca0b
type fixes
Ignore-this: 7f9003a6097a2b56c6767ded3360d8ec
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Sat, 01 Jun 2019 23:45:25 +0000 |
parents | 4ce991cdacdb |
children |
line wrap: on
line source
from typing import Any class IDelayedCall: def getTime(self) -> Any: ... def cancel(self) -> None: ... def delay(self, secondsLater: Any) -> None: ... def reset(self, secondsFromNow: Any) -> None: ... def active(self) -> None: ... class IAddress: # this is https://twistedmatrix.com/documents/current/api/twisted.internet.address.IPv4Address.html type: str host: str port: int class IListeningPort: def startListening(self): ... def stopListening(self): ... # returns deferred def getHost(self) -> IAddress: ... _realPortNumber: int # from t.i.tcp.Port