mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 07:31:38 +00:00 
			
		
		
		
	Fix misleading example.
This commit is contained in:
		
							parent
							
								
									07c19eaa20
								
							
						
					
					
						commit
						87426cb151
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -547,8 +547,9 @@ list or clear it entirely::
 | 
			
		|||
 | 
			
		||||
The built-in function :func:`len` also applies to lists::
 | 
			
		||||
 | 
			
		||||
   >>> a = ['a', 'b', 'c', 'd']
 | 
			
		||||
   >>> len(a)
 | 
			
		||||
   8
 | 
			
		||||
   4
 | 
			
		||||
 | 
			
		||||
It is possible to nest lists (create lists containing other lists), for
 | 
			
		||||
example::
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue