mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 21:21:22 +00:00 
			
		
		
		
	Backport micro-fix from the py3k svnmerge
This commit is contained in:
		
							parent
							
								
									0734c632d5
								
							
						
					
					
						commit
						47dded644f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -12,7 +12,7 @@ def __init__(self,stream): | |||
|         self.stream = stream | ||||
| 
 | ||||
|     def __getattr__(self, attr): | ||||
|         if attr == 'stream': | ||||
|         if attr in ('stream', '__getstate__'): | ||||
|             raise AttributeError(attr) | ||||
|         return getattr(self.stream,attr) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Antoine Pitrou
						Antoine Pitrou