mirror of
https://github.com/python/cpython.git
synced 2024-11-28 12:31:14 +08:00
Issue #16819: IDLE method completion now correctly works for bytes literals.
This commit is contained in:
commit
a97274cbcf
@ -232,6 +232,11 @@ class HyperParser:
|
||||
pass
|
||||
else:
|
||||
# We can't continue after other types of brackets
|
||||
if rawtext[pos] in "'\"":
|
||||
# Scan a string prefix
|
||||
while pos > 0 and rawtext[pos - 1] in "rRbBuU":
|
||||
pos -= 1
|
||||
last_identifier_pos = pos
|
||||
break
|
||||
|
||||
else:
|
||||
|
@ -200,6 +200,8 @@ Core and Builtins
|
||||
Library
|
||||
-------
|
||||
|
||||
- Issue #16819: IDLE method completion now correctly works for bytes literals.
|
||||
|
||||
- Issue #9586: Redefine SEM_FAILED on MacOSX to keep compiler happy.
|
||||
|
||||
- Issue #16787: Increase asyncore and asynchat default output buffers size, to
|
||||
|
Loading…
Reference in New Issue
Block a user