summaryrefslogtreecommitdiff
path: root/pyparsing/unicode.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyparsing/unicode.py')
-rw-r--r--pyparsing/unicode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyparsing/unicode.py b/pyparsing/unicode.py
index caa3306..9226148 100644
--- a/pyparsing/unicode.py
+++ b/pyparsing/unicode.py
@@ -108,7 +108,7 @@ class unicode_set:
cls.identchars
+ "0123456789"
+ "".join(
- c for c in cls._chars_for_ranges if ("_" + c).isidentifier()
+ [c for c in cls._chars_for_ranges if ("_" + c).isidentifier()]
)
)
)