mirror of
				https://github.com/django/django.git
				synced 2025-10-29 08:36:09 +00:00 
			
		
		
		
	Fixed #20989 -- Removed useless explicit list comprehensions.
This commit is contained in:
		| @@ -1206,7 +1206,7 @@ class ValuesListQuerySet(ValuesQuerySet): | ||||
|  | ||||
|             for row in self.query.get_compiler(self.db).results_iter(): | ||||
|                 data = dict(zip(names, row)) | ||||
|                 yield tuple([data[f] for f in fields]) | ||||
|                 yield tuple(data[f] for f in fields) | ||||
|  | ||||
|     def _clone(self, *args, **kwargs): | ||||
|         clone = super(ValuesListQuerySet, self)._clone(*args, **kwargs) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user