Skip to content

Commit eed25fc

Browse files
carsonipdpkp
authored andcommitted
Fix minor typo (#1865)
1 parent fb87a35 commit eed25fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

kafka/conn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@ def recv(self):
912912
self.config['request_timeout_ms']))
913913
return ()
914914

915-
# augment respones w/ correlation_id, future, and timestamp
915+
# augment responses w/ correlation_id, future, and timestamp
916916
for i, (correlation_id, response) in enumerate(responses):
917917
try:
918918
with self._lock:

kafka/consumer/subscription_state.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def change_subscription(self, topics):
148148
topics (list of str): topics for subscription
149149
150150
Raises:
151-
IllegalStateErrror: if assign_from_user has been used already
151+
IllegalStateError: if assign_from_user has been used already
152152
TypeError: if a topic is None or a non-str
153153
ValueError: if a topic is an empty string or
154154
- a topic name is '.' or '..' or

0 commit comments

Comments
 (0)