mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 03:44:55 +00:00 
			
		
		
		
	gh-98657: [docs] array.typecodes is a module-level attribute (#98729)
				
					
				
			* gh-98657: [docs] `array.typecodes` is a module-level attribute * Update array.rst
This commit is contained in:
		
							parent
							
								
									8cd21c2c5d
								
							
						
					
					
						commit
						c144e57b31
					
				
					 1 changed files with 8 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -62,6 +62,14 @@ The actual representation of values is determined by the machine architecture
 | 
			
		|||
(strictly speaking, by the C implementation).  The actual size can be accessed
 | 
			
		||||
through the :attr:`itemsize` attribute.
 | 
			
		||||
 | 
			
		||||
The module defines the following item:
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
.. data:: typecodes
 | 
			
		||||
 | 
			
		||||
   A string with all available type codes.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
The module defines the following type:
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -79,9 +87,6 @@ The module defines the following type:
 | 
			
		|||
 | 
			
		||||
   .. audit-event:: array.__new__ typecode,initializer array.array
 | 
			
		||||
 | 
			
		||||
.. data:: typecodes
 | 
			
		||||
 | 
			
		||||
   A string with all available type codes.
 | 
			
		||||
 | 
			
		||||
Array objects support the ordinary sequence operations of indexing, slicing,
 | 
			
		||||
concatenation, and multiplication.  When using slice assignment, the assigned
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue