def startKeepingErrors():
 warnings.warn('log.startKeepingErrors is deprecated since Twisted 2.5', category=DeprecationWarning, stacklevel=2)
 global _keepErrors
 _keepErrors = 1

def startKeepingErrors ( ) : warnings . warn ( 'log.startKeepingErrors is deprecated since Twisted 2.5' , category = DeprecationWarning , stacklevel = 2 ) global _keepErrors _keepErrors = 1
deprecated in twisted 2 .