mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	xrange -> range.
This commit is contained in:
		
							parent
							
								
									8494d573b9
								
							
						
					
					
						commit
						7d4f39a2ba
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -289,7 +289,7 @@ def home_callback(self, event): | ||||||
|             insertpt = int(self.text.index("iomark").split(".")[1]) |             insertpt = int(self.text.index("iomark").split(".")[1]) | ||||||
|         else: |         else: | ||||||
|             line = self.text.get("insert linestart", "insert lineend") |             line = self.text.get("insert linestart", "insert lineend") | ||||||
|             for insertpt in xrange(len(line)): |             for insertpt in range(len(line)): | ||||||
|                 if line[insertpt] not in (' ','\t'): |                 if line[insertpt] not in (' ','\t'): | ||||||
|                     break |                     break | ||||||
|             else: |             else: | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Georg Brandl
						Georg Brandl