From e9ed96cb7f62bccd03b82435f0026ea3995ae8f3 Mon Sep 17 00:00:00 2001 From: BobTheBuidler Date: Thu, 12 Dec 2024 08:02:42 +0000 Subject: [PATCH] fix: name error --- a_sync/_smart.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/a_sync/_smart.pyx b/a_sync/_smart.pyx index a782d5e8..978ddb69 100644 --- a/a_sync/_smart.pyx +++ b/a_sync/_smart.pyx @@ -87,7 +87,7 @@ cdef Py_ssize_t count_waiters(fut: Union["SmartFuture", "SmartTask"]): except AttributeError: return ONE cdef Py_ssize_t count = 0 - for waiter in waiters.iter(): + for waiter in waiters: count += count_waiters(waiter) return count