Skip to content

Commit 4273a75

Browse files
Pre-commit auto-fix
1 parent a12e9c9 commit 4273a75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/textUtils/wordSeg/wordSegStrategy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ def segmentedText(self, sep: str = " ", newSepIndex: list[int] | None = None) ->
305305
continue
306306

307307
# Unicode categories for punctuation
308-
PUNCTUATION_CATEGORIES: str = "pP"
308+
PUNCTUATION_CATEGORIES: str = "pP"
309309
# Determine whether any punctuation forbids a separator
310310
noSep = (
311311
unicodedata.category(self.text[curIndex - 1])[0] in PUNCTUATION_CATEGORIES

0 commit comments

Comments
 (0)