Skip to content

[Typo]: 编程常见问题中“生存期”误译为“生存其” #379

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

Closed
xaondxmzrd opened this issue May 10, 2025 · 1 comment
Closed
Labels
translation 翻译相关的问题

Comments

@xaondxmzrd
Copy link

Python Version

3.13

Docs Page

https://docs.python.org/zh-cn/3/faq/programming.html#how-do-i-cache-method-calls

Original Translation

cached_property 方式仅适用于不接受任何参数的方法。 它不会创建对实例的引用。 被缓存的方法结果将仅在实例的生存其内被保留。

Original Docs Paragraph

The cached_property approach only works with methods that do not take any arguments. It does not create a reference to the instance. The cached method result will be kept only as long as the instance is alive.

Suggested Fix

“生存其”应为“生存期”

@xaondxmzrd xaondxmzrd added the translation 翻译相关的问题 label May 10, 2025
@WendaoLee
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