mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 03:44:55 +00:00 
			
		
		
		
	Don't declare a function with staticforward.
Just declare it static so that lame (BAD_STATIC_FORWARD) compilers don't see a mismatch between the prototype and the function.
This commit is contained in:
		
							parent
							
								
									346386fedc
								
							
						
					
					
						commit
						a4b4c3bf05
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -1684,9 +1684,9 @@ PyDoc_STRVAR(list_doc,
 | 
				
			||||||
"list() -> new list\n"
 | 
					"list() -> new list\n"
 | 
				
			||||||
"list(sequence) -> new list initialized from sequence's items");
 | 
					"list(sequence) -> new list initialized from sequence's items");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
staticforward PyObject * list_iter(PyObject *seq);
 | 
					static PyObject *list_iter(PyObject *seq);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static PyObject*
 | 
					static PyObject *
 | 
				
			||||||
list_subscript(PyListObject* self, PyObject* item)
 | 
					list_subscript(PyListObject* self, PyObject* item)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	if (PyInt_Check(item)) {
 | 
						if (PyInt_Check(item)) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue