mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	Whitespace normalization.
This commit is contained in:
		
							parent
							
								
									5303a96808
								
							
						
					
					
						commit
						58eb11cf62
					
				
					 34 changed files with 69 additions and 76 deletions
				
			
		| 
						 | 
				
			
			@ -177,7 +177,7 @@ def randrange(self, start, stop=None, step=1, int=int, default=None,
 | 
			
		|||
            # compatibility).
 | 
			
		||||
 | 
			
		||||
            if width >= maxwidth:
 | 
			
		||||
                    return int(istart + self._randbelow(width))
 | 
			
		||||
                return int(istart + self._randbelow(width))
 | 
			
		||||
            return int(istart + int(self.random()*width))
 | 
			
		||||
        if step == 1:
 | 
			
		||||
            raise ValueError, "empty range for randrange() (%d,%d, %d)" % (istart, istop, width)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue