summaryrefslogtreecommitdiff
path: root/pyparsing/unicode.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyparsing/unicode.py')
-rw-r--r--pyparsing/unicode.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyparsing/unicode.py b/pyparsing/unicode.py
index c1d469b..9bc5e1d 100644
--- a/pyparsing/unicode.py
+++ b/pyparsing/unicode.py
@@ -100,13 +100,13 @@ class unicode_set:
def identbodychars(cls):
"""
all characters in this range that are valid identifier body characters,
- plus the digits 0-9
+ plus the digits 0-9, and · (Unicode MIDDLE DOT)
"""
return "".join(
sorted(
set(
cls.identchars
- + "0123456789"
+ + "0123456789·"
+ "".join(
[c for c in cls._chars_for_ranges if ("_" + c).isidentifier()]
)