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 135dad9 commit 0ab70cfCopy full SHA for 0ab70cf
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