Skip to content

Commit eb4a137

Browse files
author
cclauss
authored
print() function for Python 3
1 parent 71a80a8 commit eb4a137

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exts/zh.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ class SearchChinese(SearchLanguage):
66
lang = 'zh'
77

88
def init(self, options):
9-
print "reading Chiniese dictionary"
9+
print("reading Chiniese dictionary")
1010
self.seg = SEG()
1111

1212
def split(self, input):
1313
return self.seg.cut(input.encode("utf8"))
1414

1515
def word_filter(self, stemmed_word):
16-
return len(stemmed_word) > 1
16+
return len(stemmed_word) > 1

0 commit comments

Comments
 (0)