Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Sync with CPython 3.13#1080

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
pydoc-zh-tw wants to merge1 commit into3.13
base:3.13
Choose a base branch
Loading
fromcron/sync/3.13
Draft
Changes fromall 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
36 changes: 25 additions & 11 deletionsc-api/capsule.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date:2024-09-01 22:24+0800\n"
"POT-Creation-Date:2025-06-29 00:17+0000\n"
"PO-Revision-Date: 2018-05-23 14:30+0000\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand DownExpand Up@@ -150,15 +150,29 @@ msgstr ""

#: ../../c-api/capsule.rst:108
msgid ""
"This function splits *name* on the ``.`` character, and imports the first "
"element. It then processes further elements using attribute lookups."
msgstr ""

#: ../../c-api/capsule.rst:111
msgid ""
"Return the capsule's internal *pointer* on success. On failure, set an "
"exception and return ``NULL``."
msgstr ""

#: ../../c-api/capsule.rst:111
#: ../../c-api/capsule.rst:116
msgid ""
"If *name* points to an attribute of some submodule or subpackage, this "
"submodule or subpackage must be previously imported using other means (for "
"example, by using :c:func:`PyImport_ImportModule`) for the attribute lookups "
"to succeed."
msgstr ""

#: ../../c-api/capsule.rst:121
msgid "*no_block* has no effect anymore."
msgstr ""

#: ../../c-api/capsule.rst:117
#: ../../c-api/capsule.rst:127
msgid ""
"Determines whether or not *capsule* is a valid capsule. A valid capsule is "
"non-``NULL``, passes :c:func:`PyCapsule_CheckExact`, has a non-``NULL`` "
Expand All@@ -167,41 +181,41 @@ msgid ""
"compared.)"
msgstr ""

#: ../../c-api/capsule.rst:123
#: ../../c-api/capsule.rst:133
msgid ""
"In other words, if :c:func:`PyCapsule_IsValid` returns a true value, calls "
"to any of the accessors (any function starting with ``PyCapsule_Get``) are "
"guaranteed to succeed."
msgstr ""

#: ../../c-api/capsule.rst:127
#: ../../c-api/capsule.rst:137
msgid ""
"Return a nonzero value if the object is valid and matches the name passed "
"in. Return ``0`` otherwise. This function will not fail."
msgstr ""

#: ../../c-api/capsule.rst:133
#: ../../c-api/capsule.rst:143
msgid "Set the context pointer inside *capsule* to *context*."
msgstr ""

#: ../../c-api/capsule.rst:135 ../../c-api/capsule.rst:142
#: ../../c-api/capsule.rst:151 ../../c-api/capsule.rst:159
#: ../../c-api/capsule.rst:145 ../../c-api/capsule.rst:152
#: ../../c-api/capsule.rst:161 ../../c-api/capsule.rst:169
msgid ""
"Return ``0`` on success. Return nonzero and set an exception on failure."
msgstr ""

#: ../../c-api/capsule.rst:140
#: ../../c-api/capsule.rst:150
msgid "Set the destructor inside *capsule* to *destructor*."
msgstr ""

#: ../../c-api/capsule.rst:147
#: ../../c-api/capsule.rst:157
msgid ""
"Set the name inside *capsule* to *name*. If non-``NULL``, the name must "
"outlive the capsule. If the previous *name* stored in the capsule was not "
"``NULL``, no attempt is made to free it."
msgstr ""

#: ../../c-api/capsule.rst:156
#: ../../c-api/capsule.rst:166
msgid ""
"Set the void pointer inside *capsule* to *pointer*. The pointer may not be "
"``NULL``."
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp