aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/idlelib/HyperParser.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/HyperParser.py')
-rw-r--r--Lib/idlelib/HyperParser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/HyperParser.py b/Lib/idlelib/HyperParser.py
index 4414de72bc5..4af4b085c7c 100644
--- a/Lib/idlelib/HyperParser.py
+++ b/Lib/idlelib/HyperParser.py
@@ -234,7 +234,7 @@ class HyperParser:
# 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 "rRbB":
+ while pos > 0 and rawtext[pos - 1] in "rRbBuU":
pos -= 1
last_identifier_pos = pos
break