Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

Commit 380cb38

Browse files
authored
Fix typo in dispatcher.py comment (#37)
1 parent a1855d1 commit 380cb38

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

google/cloud/pubsub_v1/subscriber/_protocol/dispatcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def dispatch_callback(self, items):
114114
if batched_commands[requests.ModAckRequest]:
115115
self.modify_ack_deadline(batched_commands.pop(requests.ModAckRequest))
116116
# Note: Drop and ack *must* be after lease. It's possible to get both
117-
# the lease the and ack/drop request in the same batch.
117+
# the lease and the ack/drop request in the same batch.
118118
if batched_commands[requests.AckRequest]:
119119
self.ack(batched_commands.pop(requests.AckRequest))
120120
if batched_commands[requests.NackRequest]:

0 commit comments

Comments
 (0)