mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
Issue #16819: IDLE method completion now correctly works for bytes literals.
This commit is contained in:
commit
eb6aa5c525
2 changed files with 7 additions and 0 deletions
|
|
@ -232,6 +232,11 @@ class HyperParser:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
# We can't continue after other types of brackets
|
# 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
|
break
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
|
|
@ -124,6 +124,8 @@ Core and Builtins
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Issue #16819: IDLE method completion now correctly works for bytes literals.
|
||||||
|
|
||||||
- Issue #9586: Redefine SEM_FAILED on MacOSX to keep compiler happy.
|
- Issue #9586: Redefine SEM_FAILED on MacOSX to keep compiler happy.
|
||||||
|
|
||||||
- Issue 10527: make multiprocessing use poll() instead of select() if available.
|
- Issue 10527: make multiprocessing use poll() instead of select() if available.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue