jaraco/inflect

number_to_words: support for custom comma-separators is broken/incomplete

开放

#176 创建于 2023年2月13日

 (4 条评论) (1 个反应) (0 位负责人)Python (125 个派生)github user discovery
bughelp wanted

仓库指标

星标
 (1,082 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Discovered while refactoring the number_to_words method, as part of reducing complexity of the package in #174:

Using a custom comma argument to number_to_words appears to be supported based on the docstrings, and that would match the corresponding documentation for the EN::Inflect CPAN module that this library is based on.

However: in practice it seems that providing a comma argument (other than the default ,) does not work as expected.

贡献者指南