Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mojimojiを撤去する #90

Merged
merged 3 commits into from
Nov 4, 2023
Merged

mojimojiを撤去する #90

merged 3 commits into from
Nov 4, 2023

Conversation

tpdn
Copy link
Contributor

@tpdn tpdn commented Oct 28, 2023

以下に関連する修正です

mojimojiでやっていることは単に「全角数字を半角数字にする」ということだけのように見えます。
これはunicodedata.normalizeすら不要で、str.translateで可能なはずです。
なので既存のコードと同様に実装して、置き換えました。

@yagays yagays merged commit e82a417 into yagays:main Nov 4, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants