mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Fix refleaks in test_unicode and test_string related to the new format code.
Stop polluting namespace.
This commit is contained in:
		
							parent
							
								
									2bad970293
								
							
						
					
					
						commit
						8a4eb298e2
					
				
					 4 changed files with 27 additions and 38 deletions
				
			
		|  | @ -1437,10 +1437,8 @@ PyAPI_FUNC(Py_UNICODE*) Py_UNICODE_strchr( | |||
|     const Py_UNICODE *s, Py_UNICODE c | ||||
|     ); | ||||
| 
 | ||||
| PyObject * | ||||
| _unicodeformatter_iterator(PyObject *str); | ||||
| PyObject * | ||||
| _unicodeformatter_field_name_split(PyObject *field_name); | ||||
| PyObject *_PyUnicode_FormatterIterator(PyObject *str); | ||||
| PyObject *_PyUnicode_FormatterFieldNameSplit(PyObject *field_name); | ||||
| 
 | ||||
| #ifdef __cplusplus | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Neal Norwitz
						Neal Norwitz