Skip to content

Commit f753317

Browse files
committed
Fix tp_new function signature
1 parent 1a0aa14 commit f753317

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cstring.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ static PyObject *_cstring_new(PyTypeObject *type, const char *value, size_t len)
2121

2222
#define CSTRING_NEW_EMPTY(tp) (_cstring_new(tp, "", 0))
2323

24-
static PyObject *cstring_new(PyTypeObject *type, PyObject *args, PyObject **kwargs) {
24+
static PyObject *cstring_new(PyTypeObject *type, PyObject *args, PyObject *kwargs) {
2525
char *value = NULL;
2626
if(!PyArg_ParseTuple(args, "s", &value))
2727
return NULL;

0 commit comments

Comments
 (0)