mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	remove unneeded uses of str()
This commit is contained in:
		
							parent
							
								
									d481e3d791
								
							
						
					
					
						commit
						cf7925dfc6
					
				
					 4 changed files with 4 additions and 4 deletions
				
			
		|  | @ -19,5 +19,5 @@ class FixMethodattrs(fixer_base.BaseFix): | |||
| 
 | ||||
|     def transform(self, node, results): | ||||
|         attr = results["attr"][0] | ||||
|         new = str(MAP[attr.value]) | ||||
|         new = MAP[attr.value] | ||||
|         attr.replace(Name(new, prefix=attr.get_prefix())) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Benjamin Peterson
						Benjamin Peterson