mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	Spelling fixes to docs, docstrings, and comments (GH-6374)
This commit is contained in:
		
							parent
							
								
									0399cf9b5e
								
							
						
					
					
						commit
						61f82e0e33
					
				
					 15 changed files with 16 additions and 16 deletions
				
			
		| 
						 | 
				
			
			@ -431,7 +431,7 @@ decode_current_locale(const char* arg, wchar_t **wstr, size_t *wlen,
 | 
			
		|||
   can be decoded as a surrogate character, escape the bytes using the
 | 
			
		||||
   surrogateescape error handler instead of decoding them.
 | 
			
		||||
 | 
			
		||||
   On sucess, return 0 and write the newly allocated wide character string into
 | 
			
		||||
   On success, return 0 and write the newly allocated wide character string into
 | 
			
		||||
   *wstr (use PyMem_RawFree() to free the memory). If wlen is not NULL, write
 | 
			
		||||
   the number of wide characters excluding the null character into *wlen.
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -39,7 +39,7 @@ Now let's partition this bit representation of the hash into blocks of
 | 
			
		|||
    0b00_00000_10010_11101_00101_01011_10000 = 19830128
 | 
			
		||||
          (6)   (5)   (4)   (3)   (2)   (1)
 | 
			
		||||
 | 
			
		||||
Each block of 5 bits represents a number betwen 0 and 31.  So if we have
 | 
			
		||||
Each block of 5 bits represents a number between 0 and 31.  So if we have
 | 
			
		||||
a tree that consists of nodes, each of which is an array of 32 pointers,
 | 
			
		||||
those 5-bit blocks will encode a position on a single tree level.
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -832,7 +832,7 @@ hamt_node_bitmap_assoc(PyHamtNode_Bitmap *self,
 | 
			
		|||
               pairs.
 | 
			
		||||
 | 
			
		||||
               Small hamt objects (<30 keys) usually don't have any
 | 
			
		||||
               Array nodes at all.  Betwen ~30 and ~400 keys hamt
 | 
			
		||||
               Array nodes at all.  Between ~30 and ~400 keys hamt
 | 
			
		||||
               objects usually have one Array node, and usually it's
 | 
			
		||||
               a root node.
 | 
			
		||||
            */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue