mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	gh-127954: Document PyObject_DelItemString (#127986)
This commit is contained in:
		
							parent
							
								
									87ee76062a
								
							
						
					
					
						commit
						8ade15343d
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		|  | @ -493,6 +493,13 @@ Object Protocol | ||||||
|    on failure.  This is equivalent to the Python statement ``del o[key]``. |    on failure.  This is equivalent to the Python statement ``del o[key]``. | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | .. c:function:: int PyObject_DelItemString(PyObject *o, const char *key) | ||||||
|  | 
 | ||||||
|  |    This is the same as :c:func:`PyObject_DelItem`, but *key* is | ||||||
|  |    specified as a :c:expr:`const char*` UTF-8 encoded bytes string, | ||||||
|  |    rather than a :c:expr:`PyObject*`. | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| .. c:function:: PyObject* PyObject_Dir(PyObject *o) | .. c:function:: PyObject* PyObject_Dir(PyObject *o) | ||||||
| 
 | 
 | ||||||
|    This is equivalent to the Python expression ``dir(o)``, returning a (possibly |    This is equivalent to the Python expression ``dir(o)``, returning a (possibly | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 RUANG (James Roy)
						RUANG (James Roy)