mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +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 | ||||
| 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 | ||||
| former case, the numbers are converted to a common type and then | ||||
| multiplied together.  In the latter case, sequence repetition is | ||||
| must be an integer (plain or long) and the other must be a sequence. | ||||
| In the former case, the numbers are converted to a common type and | ||||
| then multiplied together.  In the latter case, sequence repetition is | ||||
| performed; a negative repetition factor yields an empty sequence. | ||||
| \index{multiplication} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue