mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	Fixed up some more flake8 violations (this particular violation still has many occurrences in the tests/ dir so it can't be removed from setup.cfg yet)
This commit is contained in:
		| @@ -90,7 +90,7 @@ class BoundMethodWeakref(object): | ||||
|         else: | ||||
|             base = super(BoundMethodWeakref, cls).__new__(cls) | ||||
|             cls._allInstances[key] = base | ||||
|             base.__init__(target, onDelete, *arguments,**named) | ||||
|             base.__init__(target, onDelete, *arguments, **named) | ||||
|             return base | ||||
|  | ||||
|     def __init__(self, target, onDelete=None): | ||||
| @@ -139,7 +139,7 @@ class BoundMethodWeakref(object): | ||||
|         Currently this is a two-tuple of the id()'s of the | ||||
|         target object and the target function respectively. | ||||
|         """ | ||||
|         return (id(target.__self__),id(target.__func__)) | ||||
|         return (id(target.__self__), id(target.__func__)) | ||||
|     calculateKey = classmethod(calculateKey) | ||||
|  | ||||
|     def __str__(self): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user