From 9d2d2204cb27dce8c4ede1bd8a6399763a4bd589 Mon Sep 17 00:00:00 2001 From: Rolando Espinoza Date: Fri, 17 Feb 2017 15:10:29 +0000 Subject: [MINOR][PYTHON] Fix typo docstring: 'top' -> 'topic' ## What changes were proposed in this pull request? Fix typo in docstring. Author: Rolando Espinoza Closes #16967 from rolando/pyspark-doc-typo. --- python/pyspark/streaming/kafka.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pyspark/streaming/kafka.py b/python/pyspark/streaming/kafka.py index 134424add3..9d1a6ecf2c 100644 --- a/python/pyspark/streaming/kafka.py +++ b/python/pyspark/streaming/kafka.py @@ -262,7 +262,7 @@ class OffsetRange(object): class TopicAndPartition(object): """ - Represents a specific top and partition for Kafka. + Represents a specific topic and partition for Kafka. """ def __init__(self, topic, partition): -- cgit v1.2.3