mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	ctypes docs: Fix array-length reference to "non-negative" from "positive" (GH-32097)
This commit is contained in:
		
							parent
							
								
									f6b3a07b7d
								
							
						
					
					
						commit
						76f14b0463
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -2512,7 +2512,7 @@ Arrays and pointers
 | 
				
			||||||
   Abstract base class for arrays.
 | 
					   Abstract base class for arrays.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   The recommended way to create concrete array types is by multiplying any
 | 
					   The recommended way to create concrete array types is by multiplying any
 | 
				
			||||||
   :mod:`ctypes` data type with a positive integer.  Alternatively, you can subclass
 | 
					   :mod:`ctypes` data type with a non-negative integer.  Alternatively, you can subclass
 | 
				
			||||||
   this type and define :attr:`_length_` and :attr:`_type_` class variables.
 | 
					   this type and define :attr:`_length_` and :attr:`_type_` class variables.
 | 
				
			||||||
   Array elements can be read and written using standard
 | 
					   Array elements can be read and written using standard
 | 
				
			||||||
   subscript and slice accesses; for slice reads, the resulting object is
 | 
					   subscript and slice accesses; for slice reads, the resulting object is
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue