mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for the work on the patch and Alex for reviewing.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -5,7 +5,8 @@ Provides a way to safely weakref any function, including bound methods (which | ||||
| aren't handled by the core weakref module). | ||||
| """ | ||||
|  | ||||
| import weakref, traceback | ||||
| import traceback | ||||
| import weakref | ||||
|  | ||||
| def safeRef(target, onDelete = None): | ||||
|     """Return a *safe* weak reference to a callable target | ||||
|   | ||||
		Reference in New Issue
	
	Block a user