File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -343,7 +343,7 @@ generic_getattr(genericobject *g, char *name)
343343}
344344
345345static int
346- generic_setattr (genericobject * g , char * name PyObject * v )
346+ generic_setattr (genericobject * g , char * name , PyObject * v )
347347{
348348 int ret ;
349349
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ static PyTypeObject Fhtype = {
179179/* Font Manager functions */
180180
181181static PyObject *
182- fm_init (PyObject * self , * args )
182+ fm_init (PyObject * self , PyObject * args )
183183{
184184 if (!PyArg_NoArgs (args ))
185185 return NULL ;
@@ -189,7 +189,7 @@ fm_init(PyObject *self, *args)
189189}
190190
191191static PyObject *
192- fm_findfont (PyObject * self , * args )
192+ fm_findfont (PyObject * self , PyObject * args )
193193{
194194 char * str ;
195195 if (!PyArg_Parse (args , "s" , & str ))
@@ -198,7 +198,7 @@ fm_findfont(PyObject *self, *args)
198198}
199199
200200static PyObject *
201- fm_prstr (PyObject * self , * args )
201+ fm_prstr (PyObject * self , PyObject * args )
202202{
203203 char * str ;
204204 if (!PyArg_Parse (args , "s" , & str ))
@@ -259,7 +259,7 @@ fm_setpath(PyObject *self, PyObject *args)
259259}
260260
261261static PyObject *
262- fm_fontpath (PyObject * self , * args )
262+ fm_fontpath (PyObject * self , PyObject * args )
263263{
264264 if (!PyArg_NoArgs (args ))
265265 return NULL ;
You can’t perform that action at this time.
0 commit comments