mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Fix error noted by Gerrit Holl (old; had been buried in my INBOX):
sequence repitition works just fine with long integers now, so we should not say that only plain integers are allowed.
This commit is contained in:
		
							parent
							
								
									0c47559352
								
							
						
					
					
						commit
						c3b18d7ca8
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -568,9 +568,9 @@ a_expr:         m_expr | aexpr "+" m_expr | aexpr "-" m_expr | ||||||
| 
 | 
 | ||||||
| The \code{*} (multiplication) operator yields the product of its | The \code{*} (multiplication) operator yields the product of its | ||||||
| arguments.  The arguments must either both be numbers, or one argument | arguments.  The arguments must either both be numbers, or one argument | ||||||
| must be a plain integer and the other must be a sequence.  In the | must be an integer (plain or long) and the other must be a sequence. | ||||||
| former case, the numbers are converted to a common type and then | In the former case, the numbers are converted to a common type and | ||||||
| multiplied together.  In the latter case, sequence repetition is | then multiplied together.  In the latter case, sequence repetition is | ||||||
| performed; a negative repetition factor yields an empty sequence. | performed; a negative repetition factor yields an empty sequence. | ||||||
| \index{multiplication} | \index{multiplication} | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Fred Drake
						Fred Drake