mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 19:34:08 +00:00 
			
		
		
		
	set softspace to 0 in __init__
This commit is contained in:
		
							parent
							
								
									6ea3f92109
								
							
						
					
					
						commit
						0daa13b188
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -33,6 +33,7 @@ class StringIO:
 | 
			
		|||
		self.buf = buf
 | 
			
		||||
		self.pos = 0
 | 
			
		||||
		self.closed = 0
 | 
			
		||||
		self.softspace = 0
 | 
			
		||||
	def close(self):
 | 
			
		||||
		if not self.closed:
 | 
			
		||||
			self.closed = 1
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue