Skip to content

Commit

Permalink
fix: name conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler authored Dec 17, 2024
1 parent cc28576 commit b4cc911
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions a_sync/a_sync/base.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b4cc911

Please sign in to comment.