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

Commit9399dac

Browse files
sync with cpython ece5f7e0
1 parent4527341 commit9399dac

File tree

7 files changed

+175
-174
lines changed

7 files changed

+175
-174
lines changed

‎c-api/file.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgid ""
99
msgstr ""
1010
"Project-Id-Version:Python 3.10\n"
1111
"Report-Msgid-Bugs-To:\n"
12-
"POT-Creation-Date:2021-09-13 00:11+0000\n"
12+
"POT-Creation-Date:2022-10-05 06:54+0000\n"
1313
"PO-Revision-Date:2017-09-22 18:26+0000\n"
1414
"Last-Translator:Liang-Bo Wang <me@liang2.tw>\n"
1515
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -27,7 +27,7 @@ msgstr "檔案(File)物件"
2727
#:../../c-api/file.rst:10
2828
msgid""
2929
"These APIs are a minimal emulation of the Python 2 C API for built-in file "
30-
"objects, which used to rely on the buffered I/O (:c:type:`FILE*`) support "
30+
"objects, which used to rely on the buffered I/O (:c:expr:`FILE*`) support "
3131
"from the C standard library. In Python 3, files and streams use the new :"
3232
"mod:`io` module, which defines several layers over the low-level unbuffered "
3333
"I/O of the operating system. The functions described below are convenience "

‎c-api/init.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version:Python 3.10\n"
99
"Report-Msgid-Bugs-To:\n"
10-
"POT-Creation-Date:2022-05-21 17:35+0000\n"
10+
"POT-Creation-Date:2022-10-05 06:54+0000\n"
1111
"PO-Revision-Date:2018-05-23 14:06+0000\n"
1212
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -1003,7 +1003,7 @@ msgstr ""
10031003
#:../../c-api/init.rst:869
10041004
msgid""
10051005
"This data structure represents the state of a single thread. The only "
1006-
"public data member is :attr:`interp` (:c:type:`PyInterpreterState *`), which "
1006+
"public data member is :attr:`interp` (:c:expr:`PyInterpreterState *`), which "
10071007
"points to this thread's interpreter state."
10081008
msgstr""
10091009

‎c-api/marshal.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version:Python 3.10\n"
99
"Report-Msgid-Bugs-To:\n"
10-
"POT-Creation-Date:2021-09-13 00:11+0000\n"
10+
"POT-Creation-Date:2022-10-05 06:54+0000\n"
1111
"PO-Revision-Date:2018-05-23 14:06+0000\n"
1212
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -68,7 +68,7 @@ msgstr ""
6868

6969
#:../../c-api/marshal.rst:46
7070
msgid""
71-
"Return a C :c:type:`long` from the data stream in a :c:type:`FILE*` opened "
71+
"Return a C :c:type:`long` from the data stream in a :c:expr:`FILE*` opened "
7272
"for reading. Only a 32-bit value can be read in using this function, "
7373
"regardless of the native size of :c:type:`long`."
7474
msgstr""
@@ -81,14 +81,14 @@ msgstr ""
8181

8282
#:../../c-api/marshal.rst:56
8383
msgid""
84-
"Return a C :c:type:`short` from the data stream in a :c:type:`FILE*` opened "
84+
"Return a C :c:type:`short` from the data stream in a :c:expr:`FILE*` opened "
8585
"for reading. Only a 16-bit value can be read in using this function, "
8686
"regardless of the native size of :c:type:`short`."
8787
msgstr""
8888

8989
#:../../c-api/marshal.rst:66
9090
msgid""
91-
"Return a Python object from the data stream in a :c:type:`FILE*` opened for "
91+
"Return a Python object from the data stream in a :c:expr:`FILE*` opened for "
9292
"reading."
9393
msgstr""
9494

@@ -101,7 +101,7 @@ msgstr ""
101101

102102
#:../../c-api/marshal.rst:75
103103
msgid""
104-
"Return a Python object from the data stream in a :c:type:`FILE*` opened for "
104+
"Return a Python object from the data stream in a :c:expr:`FILE*` opened for "
105105
"reading. Unlike :c:func:`PyMarshal_ReadObjectFromFile`, this function "
106106
"assumes that no further objects will be read from the file, allowing it to "
107107
"aggressively load file data into memory so that the de-serialization can "

‎c-api/memory.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version:Python 3.10\n"
1010
"Report-Msgid-Bugs-To:\n"
11-
"POT-Creation-Date:2022-07-06 00:17+0000\n"
11+
"POT-Creation-Date:2022-10-05 06:54+0000\n"
1212
"PO-Revision-Date:2018-05-23 14:06+0000\n"
1313
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1414
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -329,14 +329,14 @@ msgstr ""
329329
#:../../c-api/memory.rst:267
330330
msgid""
331331
"Same as :c:func:`PyMem_Malloc`, but allocates ``(n * sizeof(TYPE))`` bytes "
332-
"of memory. Returns a pointer cast to :c:type:`TYPE*`. The memory will not "
332+
"of memory. Returns a pointer cast to :c:expr:`TYPE*`. The memory will not "
333333
"have been initialized in any way."
334334
msgstr""
335335

336336
#:../../c-api/memory.rst:274
337337
msgid""
338338
"Same as :c:func:`PyMem_Realloc`, but the memory block is resized to ``(n * "
339-
"sizeof(TYPE))`` bytes. Returns a pointer cast to :c:type:`TYPE*`. On "
339+
"sizeof(TYPE))`` bytes. Returns a pointer cast to :c:expr:`TYPE*`. On "
340340
"return, *p* will be a pointer to the new memory area, or ``NULL`` in the "
341341
"event of failure."
342342
msgstr""

‎c-api/typeobj.po

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version:Python 3.10\n"
99
"Report-Msgid-Bugs-To:\n"
10-
"POT-Creation-Date:2022-08-31 00:21+0000\n"
10+
"POT-Creation-Date:2022-10-05 06:54+0000\n"
1111
"PO-Revision-Date:2018-05-23 14:33+0000\n"
1212
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -3144,7 +3144,7 @@ msgstr ""
31443144
#:../../c-api/typeobj.rst:2329
31453145
msgid""
31463146
"Check if the request can be met. If not, raise :c:data:`PyExc_BufferError`, "
3147-
"set :c:data:`view->obj` to ``NULL`` and return ``-1``."
3147+
"set :c:expr:`view->obj` to ``NULL`` and return ``-1``."
31483148
msgstr""
31493149

31503150
#:../../c-api/typeobj.rst:2332
@@ -3157,7 +3157,7 @@ msgstr ""
31573157

31583158
#:../../c-api/typeobj.rst:2336
31593159
msgid""
3160-
"Set :c:data:`view->obj` to *exporter* and increment :c:data:`view->obj`."
3160+
"Set :c:expr:`view->obj` to *exporter* and increment :c:expr:`view->obj`."
31613161
msgstr""
31623162

31633163
#:../../c-api/typeobj.rst:2338
@@ -3173,13 +3173,13 @@ msgstr ""
31733173
#:../../c-api/typeobj.rst:2343
31743174
msgid""
31753175
"Re-export: Each member of the tree acts as the exporting object and sets :c:"
3176-
"data:`view->obj` to a new reference to itself."
3176+
"expr:`view->obj` to a new reference to itself."
31773177
msgstr""
31783178

31793179
#:../../c-api/typeobj.rst:2346
31803180
msgid""
31813181
"Redirect: The buffer request is redirected to the root object of the tree. "
3182-
"Here, :c:data:`view->obj` will be a new reference to the root object."
3182+
"Here, :c:expr:`view->obj` will be a new reference to the root object."
31833183
msgstr""
31843184

31853185
#:../../c-api/typeobj.rst:2350
@@ -3237,7 +3237,7 @@ msgstr ""
32373237

32383238
#:../../c-api/typeobj.rst:2389
32393239
msgid""
3240-
"This function MUST NOT decrement :c:data:`view->obj`, since that is done "
3240+
"This function MUST NOT decrement :c:expr:`view->obj`, since that is done "
32413241
"automatically in :c:func:`PyBuffer_Release` (this scheme is useful for "
32423242
"breaking reference cycles)."
32433243
msgstr""

‎c-api/veryhigh.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version:Python 3.10\n"
99
"Report-Msgid-Bugs-To:\n"
10-
"POT-Creation-Date:2022-02-24 00:12+0000\n"
10+
"POT-Creation-Date:2022-10-05 06:54+0000\n"
1111
"PO-Revision-Date:2018-05-23 14:08+0000\n"
1212
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -39,12 +39,12 @@ msgstr ""
3939

4040
#:../../c-api/veryhigh.rst:19
4141
msgid""
42-
"Note also that several of these functions take :c:type:`FILE*` parameters. "
43-
"One particular issue which needs to be handled carefully is that the :c:type:"
42+
"Note also that several of these functions take :c:expr:`FILE*` parameters. "
43+
"One particular issue which needs to be handled carefully is that the :c:expr:"
4444
"`FILE` structure for different C libraries can be different and "
4545
"incompatible. Under Windows (at least), it is possible for dynamically "
4646
"linked extensions to actually use different libraries, so care should be "
47-
"taken that :c:type:`FILE*` parameters are only passed to these functions if "
47+
"taken that :c:expr:`FILE*` parameters are only passed to these functions if "
4848
"it is certain that they were created by the same library that the Python "
4949
"runtime is using."
5050
msgstr""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp