mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	
						commit
						b820d0defc
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -391,7 +391,7 @@ means that the following slice returns a new (shallow) copy of the list::
 | 
				
			||||||
   >>> squares[:]
 | 
					   >>> squares[:]
 | 
				
			||||||
   [1, 4, 9, 16, 25]
 | 
					   [1, 4, 9, 16, 25]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Lists also supports operations like concatenation::
 | 
					Lists also support operations like concatenation::
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   >>> squares + [36, 49, 64, 81, 100]
 | 
					   >>> squares + [36, 49, 64, 81, 100]
 | 
				
			||||||
   [1, 4, 9, 16, 25, 36, 49, 64, 81, 100]
 | 
					   [1, 4, 9, 16, 25, 36, 49, 64, 81, 100]
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue