diff --git a/src/confluent_kafka/src/confluent_kafka.c b/src/confluent_kafka/src/confluent_kafka.c index 506c9a995..5295f542f 100644 --- a/src/confluent_kafka/src/confluent_kafka.c +++ b/src/confluent_kafka/src/confluent_kafka.c @@ -744,7 +744,7 @@ PyTypeObject MessageType = { "\n" "This class is not user-instantiable.\n" "\n" - ".. py:function:: len()\n" + ".. py:function:: __len__()\n" "\n" " :returns: Message value (payload) size in bytes\n" " :rtype: int\n"