mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	[Enum] unchain exception property.__get__ (GH-103305)
This commit is contained in:
		
							parent
							
								
									6e3ee049ac
								
							
						
					
					
						commit
						a44568b80d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -207,7 +207,7 @@ def __get__(self, instance, ownerclass=None): | |||
|                 except KeyError: | ||||
|                     raise AttributeError( | ||||
|                             '%r has no attribute %r' % (ownerclass, self.name) | ||||
|                             ) | ||||
|                             ) from None | ||||
|             else: | ||||
|                 return self.fget(instance) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Ethan Furman
						Ethan Furman