summaryrefslogtreecommitdiff
path: root/src/easy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/easy.c')
-rw-r--r--src/easy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/easy.c b/src/easy.c
index f3f7fc5..aeb2b78 100644
--- a/src/easy.c
+++ b/src/easy.c
@@ -728,7 +728,7 @@ PYCURL_INTERNAL PyMethodDef curlobject_methods[] = {
{"setopt_string", (PyCFunction)do_curl_setopt_string, METH_VARARGS, curl_setopt_string_doc},
{"unsetopt", (PyCFunction)do_curl_unsetopt, METH_VARARGS, curl_unsetopt_doc},
{"reset", (PyCFunction)do_curl_reset, METH_NOARGS, curl_reset_doc},
- {"duphandle", (PyCFunction)do_curl_duphandle, METH_NOARGS, NULL},
+ {"duphandle", (PyCFunction)do_curl_duphandle, METH_NOARGS, curl_duphandle_doc},
#if defined(HAVE_CURL_OPENSSL)
{"set_ca_certs", (PyCFunction)do_curl_set_ca_certs, METH_VARARGS, curl_set_ca_certs_doc},
#endif