From 9693998c7f1872881da5f9298eb7e7108b988500 Mon Sep 17 00:00:00 2001
From: Raj <rs91963@gmail.com>
Date: Wed, 1 Feb 2023 22:45:41 +0530
Subject: [PATCH] gh-101498 : Updated Doc/library/asyncio-task.rst#timeout

---
 Doc/library/asyncio-task.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst
index 9a42b963167685..39112580285cc0 100644
--- a/Doc/library/asyncio-task.rst
+++ b/Doc/library/asyncio-task.rst
@@ -666,7 +666,7 @@ Timeouts
             except TimeoutError:
                 pass
 
-            if cm.expired:
+            if cm.expired():
                 print("Looks like we haven't finished on time.")
 
     Timeout context managers can be safely nested.