unparser: Don't put unnecessary parentheses on class declarations
Backport of
* 25160cdc47
			
			
This commit is contained in:
		 Todd Gamblin
					Todd Gamblin
				
			
				
					committed by
					
						 Greg Becker
						Greg Becker
					
				
			
			
				
	
			
			
			 Greg Becker
						Greg Becker
					
				
			
						parent
						
							ff5e73d6eb
						
					
				
				
					commit
					0776c3b4d6
				
			| @@ -415,7 +415,7 @@ def _ClassDef(self, t): | ||||
|             self.dispatch(deco) | ||||
|         self.fill("class " + t.name) | ||||
|         if six.PY3: | ||||
|             with self.delimit("(", ")"): | ||||
|             with self.delimit_if("(", ")", condition=t.bases or t.keywords): | ||||
|                 comma = False | ||||
|                 for e in t.bases: | ||||
|                     if comma: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user