Restore 0.1.5 version from stash

This commit is contained in:
liaibo
2025-12-08 19:56:24 +08:00
parent de189e938d
commit 8db3f4e32d
8578 changed files with 2703426 additions and 217 deletions
@@ -0,0 +1,14 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
class PinyinNotFoundException(Exception):
#: 异常信息
message = ''
#: 不包含拼音的字符串
chars = ''
def __init__(self, chars):
self.message = 'No pinyin found for character "{}"'.format(chars)
self.chars = chars
super(PinyinNotFoundException, self).__init__(self.message)