Skip to content

[Typo]: pprint模块pp函数的depth参数的翻译有错误 #385

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

Open
umaybe opened this issue Jun 5, 2025 · 1 comment
Open

[Typo]: pprint模块pp函数的depth参数的翻译有错误 #385

umaybe opened this issue Jun 5, 2025 · 1 comment
Labels
translation 翻译相关的问题

Comments

@umaybe
Copy link

umaybe commented Jun 5, 2025

Python Version

>= 3.12

Docs Page

https://docs.python.org/zh-cn/3.12/library/pprint.html

Original Translation

depth (int | None) -- 可被找钱的嵌套层级数量。

Image

Original Docs Paragraph

depth (int | None) – The number of nesting levels which may be printed.

Suggested Fix

"找钱"应改为“打印”
3.11版本的翻译为”depth 控制可被打印的缩进层级数量“

@umaybe umaybe added the translation 翻译相关的问题 label Jun 5, 2025
@silkriver
Copy link

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
translation 翻译相关的问题
Projects
None yet
Development

No branches or pull requests

2 participants