Did I find the right examples for you? yes no

All Samples(63)  |  Call(0)  |  Derive(0)  |  Import(63)
Deprecation framework for Twisted.

To mark a method or function as being deprecated do this::

    from twisted.python.versions import Version
    from twisted.python.deprecate import deprecated

    @deprecated(Version("Twisted", 8, 0, 0))
    def badAPI(self, first, second):
        '''(more...)

src/o/h/oh-mainline-HEAD/vendor/packages/twisted/twisted/scripts/trial.py   oh-mainline(Download)
from twisted.internet import defer
from twisted.application import app
from twisted.python import usage, reflect, failure, versions, deprecate
from twisted.python.filepath import FilePath
from twisted import plugin

src/u/n/UnitScan-HEAD/twisted/scripts/trial.py   UnitScan(Download)
from twisted.internet import defer
from twisted.application import app
from twisted.python import usage, reflect, failure, versions, deprecate
from twisted.python.filepath import FilePath
from twisted import plugin

src/o/h/oh-mainline-HEAD/vendor/packages/twisted/twisted/internet/gtkreactor.py   oh-mainline(Download)
 
# Twisted Imports
from twisted.python import log, runtime, deprecate, versions
from twisted.internet.interfaces import IReactorFDSet
 

src/m/y/mythbox-HEAD/resources/lib/twisted/twisted/internet/gtkreactor.py   mythbox(Download)
 
# Twisted Imports
from twisted.python import log, runtime, deprecate, versions
from twisted.internet.interfaces import IReactorFDSet
 

src/s/u/SubliminalCollaborator-HEAD/libs/twisted/scripts/tap2rpm.py   SubliminalCollaborator(Download)
import warnings
 
from twisted.python import usage, log, versions, deprecate
 
 

src/s/u/SubliminalCollaborator-HEAD/libs/twisted/internet/gtkreactor.py   SubliminalCollaborator(Download)
 
# Twisted Imports
from twisted.python import log, runtime, deprecate, versions
from twisted.internet.interfaces import IReactorFDSet
 

src/t/w/Twisted-13.2.0/twisted/scripts/tap2rpm.py   Twisted(Download)
import warnings
 
from twisted.python import usage, log, versions, deprecate
 
 

src/t/w/Twisted-13.2.0/twisted/internet/gtkreactor.py   Twisted(Download)
 
# Twisted Imports
from twisted.python import log, runtime, deprecate, versions
from twisted.internet.interfaces import IReactorFDSet
 

src/u/n/UnitScan-HEAD/twisted/internet/gtkreactor.py   UnitScan(Download)
 
# Twisted Imports
from twisted.python import log, runtime, deprecate, versions
from twisted.internet.interfaces import IReactorFDSet
 

src/o/h/oh-mainline-HEAD/vendor/packages/twisted/twisted/protocols/basic.py   oh-mainline(Download)
# Twisted imports
from twisted.internet import protocol, defer, interfaces, error
from twisted.python import log, deprecate, versions
 
 

  1 | 2 | 3 | 4 | 5 | 6 | 7  Next