mirror of
https://github.com/python/cpython.git
synced 2025-10-31 21:51:50 +00:00
Fix the fix (my error -- hasty pasty).
This commit is contained in:
parent
a29b6222fe
commit
b5d1392d92
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ def handle_read (self):
|
||||||
# 3) end of buffer does not match any prefix:
|
# 3) end of buffer does not match any prefix:
|
||||||
# collect data
|
# collect data
|
||||||
terminator_len = len(terminator)
|
terminator_len = len(terminator)
|
||||||
index = ac_in_buffer.find (self.terminator)
|
index = self.ac_in_buffer.find(terminator)
|
||||||
if index != -1:
|
if index != -1:
|
||||||
# we found the terminator
|
# we found the terminator
|
||||||
if index > 0:
|
if index > 0:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue