We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 556e855 commit 495bb25Copy full SHA for 495bb25
Lib/_pyrepl/input.py
@@ -91,7 +91,7 @@ def push(self, evt):
91
if d is None:
92
if self.verbose:
93
print("invalid")
94
- if self.stack or len(key) > 1 or unicodedata.category(key) == "C":
+ if self.stack or len(key) > 1 or unicodedata.category(key).startswith("C"):
95
self.results.append((self.invalid_cls, self.stack + [key]))
96
else:
97
# small optimization:
0 commit comments