python/python-docs-zh-cn

[Typo]: `sign`应译为`正负号`而不应译为`标志`

Closed this issue · 1 comments

vivodi commented

Python Version

3.12, 3.13, 3.14

Docs Page

https://docs.python.org/zh-cn/3.13/library/string.html#format-specification-mini-language

Original Translation

表示标志应该用于正数和负数。
表示标志应仅用于负数(这是默认行为)。

Original Docs Paragraph

indicates that a sign should be used for both positive as well as negative numbers.
indicates that a sign should be used only for negative numbers (this is the default behavior).

Suggested Fix

表示正负号同时用于正数和负数。
表示正负号仅用于负数(这是默认行为)。

这里翻译成正负号好理解得多,翻译成标志我还不如读英语原文呢。

Fixed.