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

修正C扩展接口翻译问题 #363

Open
wants to merge 1 commit into
base: 3.13
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion extending/extending.po
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ msgid ""
msgstr ""
"C扩展接口特指CPython,扩展模块无法在其他Python实现上工作。在大多数情况下,应该避免写C扩展,来保持可移植性。举个例子,如果你的用例调用了C库或系统调用,你应该考虑使用"
" :mod:`ctypes` 模块或 `cffi <https://cffi.readthedocs.io/>`_ "
"库,而不是自己写C代码。这些模块允许你写Python代码来接口C代码,而且可移植性更好。不知为何编译失败了。"
"库,而不是自己写C代码。这些模块允许你写Python代码来接口C代码,并且相较于编写和编译C扩展模块,该方法在不同Python实现之间具有更高的可移植性。"

#: ../../extending/extending.rst:40
msgid "A Simple Example"
Expand Down