From 110a531d586ce896f6f6630a2c85efd25281b5bd Mon Sep 17 00:00:00 2001 From: Itamar Turner-Trauring Date: Thu, 28 Mar 2024 08:56:38 -0400 Subject: [PATCH] Update src/twisted/newsfragments/12122.feature Co-authored-by: Adi Roiban --- src/twisted/newsfragments/12122.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/twisted/newsfragments/12122.feature b/src/twisted/newsfragments/12122.feature index beb57b3e7fd..e289eb91c69 100644 --- a/src/twisted/newsfragments/12122.feature +++ b/src/twisted/newsfragments/12122.feature @@ -1 +1 @@ -``twisted.internet.defer.Deferred`` operations use less CPU. \ No newline at end of file +twisted.internet.defer.Deferred.callback() and twisted.internet.defer.Deferred.addCallbacks() no longer use `assert` to check the type of the arguments. You should now use type checking to validate your code. These changes were done to reduce the CPU usage. \ No newline at end of file