Skip to content

Commit 958e174

Browse files
hrchuRyan P
authored andcommitted
Fix document
Consumer_position does not have the timeout parameter.
1 parent c5eb7bf commit 958e174

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

confluent_kafka/src/Consumer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1170,7 +1170,7 @@ static PyMethodDef Consumer_methods[] = {
11701170
},
11711171
{ "position", (PyCFunction)Consumer_position,
11721172
METH_VARARGS|METH_KEYWORDS,
1173-
".. py:function:: position(partitions, [timeout=None])\n"
1173+
".. py:function:: position(partitions)\n"
11741174
"\n"
11751175
" Retrieve current positions (offsets) for the list of partitions.\n"
11761176
"\n"

0 commit comments

Comments
 (0)