mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	Add default value for "whence" argument.
This commit is contained in:
		
							parent
							
								
									729c31f5c3
								
							
						
					
					
						commit
						71fd90da87
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -360,7 +360,7 @@ def reset(self): | |||
|         self.charbuffer = u"" | ||||
|         self.atcr = False | ||||
| 
 | ||||
|     def seek(self, offset, whence): | ||||
|     def seek(self, offset, whence=0): | ||||
|         """ Set the input stream's current position. | ||||
| 
 | ||||
|             Resets the codec buffers used for keeping state. | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Walter Dörwald
						Walter Dörwald