Skip to content

Commit 38bcb99

Browse files
committed
Minor typo fixes
1 parent 3ee33f0 commit 38bcb99

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

confluent_kafka/src/Consumer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ static PyObject *Consumer_assign (Handle *self, PyObject *tlist) {
193193

194194
if (err) {
195195
cfl_PyErr_Format(err,
196-
"Failed to set assignemnt: %s",
196+
"Failed to set assignment: %s",
197197
rd_kafka_err2str(err));
198198
return NULL;
199199
}

confluent_kafka/src/Producer.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,15 +371,15 @@ static PyMethodDef Producer_methods[] = {
371371
" This is an asynchronous operation, an application may use the "
372372
"``callback`` (alias ``on_delivery``) argument to pass a function "
373373
"(or lambda) that will be called from :py:func:`poll()` when the "
374-
"message has been succesfully delivered or permanently fails delivery.\n"
374+
"message has been successfully delivered or permanently fails delivery.\n"
375375
"\n"
376376
" :param str topic: Topic to produce message to\n"
377377
" :param str|bytes value: Message payload\n"
378378
" :param str|bytes key: Message key\n"
379379
" :param int partition: Partition to produce to, elses uses the "
380380
"configured partitioner.\n"
381381
" :param func on_delivery(err,msg): Delivery report callback to call "
382-
"(from :py:func:`poll()` or :py:func:`flush()`) on succesful or "
382+
"(from :py:func:`poll()` or :py:func:`flush()`) on successful or "
383383
"failed delivery\n"
384384
"\n"
385385
" :rtype: None\n"

0 commit comments

Comments
 (0)