Skip to content

Commit 3b1c7e7

Browse files
committed
polish code [skip ci]
1 parent 560f090 commit 3b1c7e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/jmcomic/jm_toolkit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ def to_zh(cls, s, target=None):
338338
通用的繁简体转换接口。
339339
340340
:param s: 待转换字符串
341-
:param target: 目标编码: 'zh-cn'(简体), 'zh-tw'(繁体),或 None/'none' 表示不转换
341+
:param target: 目标编码: 'zh-cn'(简体), 'zh-tw'(繁体),或 None 表示不转换
342342
:return: 转换后的字符串(若转换失败或未安装 zhconv,返回原始字符串)
343343
"""
344344
if s is None:

0 commit comments

Comments
 (0)