mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 11:49:12 +00:00 
			
		
		
		
	Correct typo (Py_MethodDef doesn't exist). Reported by Uwe Zessin.
This commit is contained in:
		
							parent
							
								
									6a715729a6
								
							
						
					
					
						commit
						00d225ea6d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -85,7 +85,7 @@ xx_demo(self, args)
 | 
				
			||||||
	return Py_None;
 | 
						return Py_None;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static Py_MethodDef xx_methods[] = {
 | 
					static PyMethodDef xx_methods[] = {
 | 
				
			||||||
	{"demo",	(PyCFunction)xx_demo},
 | 
						{"demo",	(PyCFunction)xx_demo},
 | 
				
			||||||
	{NULL,		NULL}		/* sentinel */
 | 
						{NULL,		NULL}		/* sentinel */
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue