mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 11:49:12 +00:00 
			
		
		
		
	gh-121355: Fix incorrect word in simple_stmts.rst (#121356)
This commit is contained in:
		
							parent
							
								
									06a1c3fb24
								
							
						
					
					
						commit
						715ec630dd
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -293,7 +293,7 @@ statements, cannot be an unpacking) and the expression list, performs the binary
 | 
				
			||||||
operation specific to the type of assignment on the two operands, and assigns
 | 
					operation specific to the type of assignment on the two operands, and assigns
 | 
				
			||||||
the result to the original target.  The target is only evaluated once.
 | 
					the result to the original target.  The target is only evaluated once.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
An augmented assignment expression like ``x += 1`` can be rewritten as ``x = x +
 | 
					An augmented assignment statement like ``x += 1`` can be rewritten as ``x = x +
 | 
				
			||||||
1`` to achieve a similar, but not exactly equal effect. In the augmented
 | 
					1`` to achieve a similar, but not exactly equal effect. In the augmented
 | 
				
			||||||
version, ``x`` is only evaluated once. Also, when possible, the actual operation
 | 
					version, ``x`` is only evaluated once. Also, when possible, the actual operation
 | 
				
			||||||
is performed *in-place*, meaning that rather than creating a new object and
 | 
					is performed *in-place*, meaning that rather than creating a new object and
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue