From b4cc9116b5f8c2528c6f9ad7a24c2402489e289c Mon Sep 17 00:00:00 2001 From: BobTheBuidler <70677534+BobTheBuidler@users.noreply.github.com> Date: Tue, 17 Dec 2024 03:36:04 -0400 Subject: [PATCH] fix: name conflict --- a_sync/a_sync/base.pyx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/a_sync/a_sync/base.pyx b/a_sync/a_sync/base.pyx index d280eda7..c9994580 100644 --- a/a_sync/a_sync/base.pyx +++ b/a_sync/a_sync/base.pyx @@ -220,8 +220,8 @@ cdef dict[uintptr_t, object] _init_signature_cache = {} cdef _get_init_signature(object cls): cdef uintptr_t cls_init_id = id(cls.__init__) - signature = _init_signature_cache.get(cls_init_id) - if signature is None: - signature = signature(cls.__init__) - _init_signature_cache[cls_init_id] = signature - return signature + init_sig = _init_signature_cache.get(cls_init_id) + if init_sig is None: + init_sig = signature(cls.__init__) + _init_signature_cache[cls_init_id] = init_sig + return init_sig