Ticket #19511: #19511-thread_safe_bound_method_weakref.diff
File #19511-thread_safe_bound_method_weakref.diff, 455 bytes (added by , 12 years ago) |
---|
-
django/dispatch/saferef.py
class BoundMethodWeakref(object): 89 89 return current 90 90 else: 91 91 base = super( BoundMethodWeakref, cls).__new__( cls ) 92 cls._allInstances[key] = base93 92 base.__init__( target, onDelete, *arguments,**named) 93 cls._allInstances[key] = base 94 94 return base 95 95 96 96 def __init__(self, target, onDelete=None):