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

Commit4527341

Browse files
sync with cpython 9c755d7d
1 parent6a6c2ec commit4527341

File tree

9 files changed

+319
-317
lines changed

9 files changed

+319
-317
lines changed

‎c-api/exceptions.po

Lines changed: 7 additions & 7 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-05-21 17:35+0000\n"
11+
"POT-Creation-Date:2022-10-05 00:24+0000\n"
1212
"PO-Revision-Date:2018-05-23 14:05+0000\n"
1313
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1414
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -223,12 +223,12 @@ msgstr ""
223223
#:../../c-api/exceptions.rst:191
224224
msgid""
225225
"This is a convenience function to raise :exc:`WindowsError`. If called with "
226-
"*ierr* of:c:data:`0`, the error code returned by a call to :c:func:"
227-
"`GetLastError`is used instead. It calls the Win32 function :c:func:"
228-
"`FormatMessage` toretrieve the Windows description of error code given by "
229-
"*ierr* or :c:func:`GetLastError`, then it constructs a tuple object whose "
230-
"first item is the*ierr* value and whose second item is the corresponding "
231-
"error message(gotten from :c:func:`FormatMessage`), and then calls "
226+
"*ierr* of``0``, the error code returned by a call to :c:func:`GetLastError`"
227+
"is used instead. It calls the Win32 function :c:func:`FormatMessage` to"
228+
"retrieve the Windows description of error code given by*ierr* or :c:func:"
229+
"`GetLastError`, then it constructs a tuple object whose first item is the "
230+
"*ierr* value and whose second item is the corresponding error message "
231+
"(gotten from :c:func:`FormatMessage`), and then calls "
232232
"``PyErr_SetObject(PyExc_WindowsError, object)``. This function always "
233233
"returns ``NULL``."
234234
msgstr""

‎c-api/typehints.po

Lines changed: 2 additions & 2 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:2021-10-26 16:47+0000\n"
11+
"POT-Creation-Date:2022-10-05 00:24+0000\n"
1212
"PO-Revision-Date:YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator:FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -35,7 +35,7 @@ msgid ""
3535
"calling the Python class :class:`types.GenericAlias`. The *origin* and "
3636
"*args* arguments set the ``GenericAlias``\\ 's ``__origin__`` and "
3737
"``__args__`` attributes respectively. *origin* should be a :c:type:"
38-
"`PyTypeObject*`, and *args* can be a :c:type:`PyTupleObject*` or any "
38+
"`PyTypeObject*`, and *args* can be a :c:expr:`PyTupleObject*` or any "
3939
"``PyObject*``. If *args* passed is not a tuple, a 1-tuple is automatically "
4040
"constructed and ``__args__`` is set to ``(args,)``. Minimal checking is done "
4141
"for the arguments, so the function will succeed even if *origin* is not a "

‎c-api/unicode.po

Lines changed: 3 additions & 3 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:2022-05-21 17:35+0000\n"
12+
"POT-Creation-Date:2022-10-05 00:24+0000\n"
1313
"PO-Revision-Date:2018-05-23 14:08+0000\n"
1414
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1515
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -1044,7 +1044,7 @@ msgid ""
10441044
"ParseTuple converter: encode :class:`str` objects -- obtained directly or "
10451045
"through the :class:`os.PathLike` interface -- to :class:`bytes` using :c:"
10461046
"func:`PyUnicode_EncodeFSDefault`; :class:`bytes` objects are output as-is. "
1047-
"*result* must be a :c:type:`PyBytesObject*` which must be released when it "
1047+
"*result* must be a :c:expr:`PyBytesObject*` which must be released when it "
10481048
"is no longer used."
10491049
msgstr""
10501050

@@ -1064,7 +1064,7 @@ msgid ""
10641064
"ParseTuple converter: decode :class:`bytes` objects -- obtained either "
10651065
"directly or indirectly through the :class:`os.PathLike` interface -- to :"
10661066
"class:`str` using :c:func:`PyUnicode_DecodeFSDefaultAndSize`; :class:`str` "
1067-
"objects are output as-is. *result* must be a :c:type:`PyUnicodeObject*` "
1067+
"objects are output as-is. *result* must be a :c:expr:`PyUnicodeObject*` "
10681068
"which must be released when it is no longer used."
10691069
msgstr""
10701070

‎faq/programming.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ msgid ""
1010
msgstr ""
1111
"Project-Id-Version:Python 3.10\n"
1212
"Report-Msgid-Bugs-To:\n"
13-
"POT-Creation-Date:2022-09-28 00:27+0000\n"
13+
"POT-Creation-Date:2022-10-05 00:24+0000\n"
1414
"PO-Revision-Date:2018-05-23 14:35+0000\n"
1515
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1616
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -875,7 +875,8 @@ msgstr ""
875875
#:../../faq/programming.rst:737
876876
msgid""
877877
"Yes. Usually this is done by nesting :keyword:`lambda` within :keyword:`!"
878-
"lambda`. See the following three examples, due to Ulf Bartelt::"
878+
"lambda`. See the following three examples, slightly adapted from Ulf "
879+
"Bartelt::"
879880
msgstr""
880881

881882
#:../../faq/programming.rst:764

‎library/_thread.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:2021-10-26 16:47+0000\n"
10+
"POT-Creation-Date:2022-10-05 00:24+0000\n"
1111
"PO-Revision-Date:2015-12-09 17:51+0000\n"
1212
"Last-Translator:Liang-Bo Wang <me@liang2.tw>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -191,18 +191,18 @@ msgstr ""
191191

192192
#:../../library/_thread.rst:164
193193
msgid""
194-
"If theinteger *waitflag* argument is present, the action depends on its "
195-
"value: ifit iszero, the lock is only acquired if it can be acquired "
196-
"immediatelywithout waiting, while if it isnonzero, the lock is acquired "
197-
"unconditionallyas above."
194+
"If the*blocking* argument is present, the action depends on its value: if "
195+
"it isFalse, the lock is only acquired if it can be acquired immediately "
196+
"without waiting, while if it isTrue, the lock is acquired unconditionally "
197+
"as above."
198198
msgstr""
199199

200200
#:../../library/_thread.rst:169
201201
msgid""
202202
"If the floating-point *timeout* argument is present and positive, it "
203203
"specifies the maximum wait time in seconds before returning. A negative "
204204
"*timeout* argument specifies an unbounded wait. You cannot specify a "
205-
"*timeout* if *waitflag* iszero."
205+
"*timeout* if *blocking* isFalse."
206206
msgstr""
207207

208208
#:../../library/_thread.rst:174

‎library/asyncio-eventloop.po

Lines changed: 22 additions & 22 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-09-29 00:25+0000\n"
10+
"POT-Creation-Date:2022-10-05 00:24+0000\n"
1111
"PO-Revision-Date:2022-02-20 12:36+0800\n"
1212
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -1916,110 +1916,110 @@ msgid ""
19161916
"used::"
19171917
msgstr""
19181918

1919-
#:../../library/asyncio-eventloop.rst:1531
1919+
#:../../library/asyncio-eventloop.rst:1534
19201920
msgid":ref:`Availability <availability>`: Unix, Windows."
19211921
msgstr":ref:`適用 <availability>`:Unix、Windows。"
19221922

1923-
#:../../library/asyncio-eventloop.rst:1536
1923+
#:../../library/asyncio-eventloop.rst:1539
19241924
msgid"An event loop for Windows that uses\"I/O Completion Ports\" (IOCP)."
19251925
msgstr""
19261926

1927-
#:../../library/asyncio-eventloop.rst:1539
1927+
#:../../library/asyncio-eventloop.rst:1542
19281928
msgid":ref:`Availability <availability>`: Windows."
19291929
msgstr":ref:`適用 <availability>`:Windows。"
19301930

1931-
#:../../library/asyncio-eventloop.rst:1542
1931+
#:../../library/asyncio-eventloop.rst:1545
19321932
msgid""
19331933
"`MSDN documentation on I/O Completion Ports <https://docs.microsoft.com/en-"
19341934
"ca/windows/desktop/FileIO/i-o-completion-ports>`_."
19351935
msgstr""
19361936

1937-
#:../../library/asyncio-eventloop.rst:1548
1937+
#:../../library/asyncio-eventloop.rst:1551
19381938
msgid"Abstract base class for asyncio-compliant event loops."
19391939
msgstr""
19401940

1941-
#:../../library/asyncio-eventloop.rst:1550
1941+
#:../../library/asyncio-eventloop.rst:1553
19421942
msgid""
19431943
"The :ref:`asyncio-event-loop-methods` section lists all methods that an "
19441944
"alternative implementation of ``AbstractEventLoop`` should have defined."
19451945
msgstr""
19461946

1947-
#:../../library/asyncio-eventloop.rst:1556
1947+
#:../../library/asyncio-eventloop.rst:1559
19481948
msgid"Examples"
19491949
msgstr"範例"
19501950

1951-
#:../../library/asyncio-eventloop.rst:1558
1951+
#:../../library/asyncio-eventloop.rst:1561
19521952
msgid""
19531953
"Note that all examples in this section **purposefully** show how to use the "
19541954
"low-level event loop APIs, such as :meth:`loop.run_forever` and :meth:`loop."
19551955
"call_soon`. Modern asyncio applications rarely need to be written this way; "
19561956
"consider using the high-level functions like :func:`asyncio.run`."
19571957
msgstr""
19581958

1959-
#:../../library/asyncio-eventloop.rst:1568
1959+
#:../../library/asyncio-eventloop.rst:1571
19601960
msgid"Hello World with call_soon()"
19611961
msgstr""
19621962

1963-
#:../../library/asyncio-eventloop.rst:1570
1963+
#:../../library/asyncio-eventloop.rst:1573
19641964
msgid""
19651965
"An example using the :meth:`loop.call_soon` method to schedule a callback. "
19661966
"The callback displays ``\"Hello World\"`` and then stops the event loop::"
19671967
msgstr""
19681968

1969-
#:../../library/asyncio-eventloop.rst:1594
1969+
#:../../library/asyncio-eventloop.rst:1597
19701970
msgid""
19711971
"A similar :ref:`Hello World <coroutine>` example created with a coroutine "
19721972
"and the :func:`run` function."
19731973
msgstr""
19741974

1975-
#:../../library/asyncio-eventloop.rst:1601
1975+
#:../../library/asyncio-eventloop.rst:1604
19761976
msgid"Display the current date with call_later()"
19771977
msgstr""
19781978

1979-
#:../../library/asyncio-eventloop.rst:1603
1979+
#:../../library/asyncio-eventloop.rst:1606
19801980
msgid""
19811981
"An example of a callback displaying the current date every second. The "
19821982
"callback uses the :meth:`loop.call_later` method to reschedule itself after "
19831983
"5 seconds, and then stops the event loop::"
19841984
msgstr""
19851985

1986-
#:../../library/asyncio-eventloop.rst:1631
1986+
#:../../library/asyncio-eventloop.rst:1634
19871987
msgid""
19881988
"A similar :ref:`current date <asyncio_example_sleep>` example created with a "
19891989
"coroutine and the :func:`run` function."
19901990
msgstr""
19911991

1992-
#:../../library/asyncio-eventloop.rst:1638
1992+
#:../../library/asyncio-eventloop.rst:1641
19931993
msgid"Watch a file descriptor for read events"
19941994
msgstr""
19951995

1996-
#:../../library/asyncio-eventloop.rst:1640
1996+
#:../../library/asyncio-eventloop.rst:1643
19971997
msgid""
19981998
"Wait until a file descriptor received some data using the :meth:`loop."
19991999
"add_reader` method and then close the event loop::"
20002000
msgstr""
20012001

2002-
#:../../library/asyncio-eventloop.rst:1678
2002+
#:../../library/asyncio-eventloop.rst:1681
20032003
msgid""
20042004
"A similar :ref:`example <asyncio_example_create_connection>` using "
20052005
"transports, protocols, and the :meth:`loop.create_connection` method."
20062006
msgstr""
20072007

2008-
#:../../library/asyncio-eventloop.rst:1682
2008+
#:../../library/asyncio-eventloop.rst:1685
20092009
msgid""
20102010
"Another similar :ref:`example <asyncio_example_create_connection-streams>` "
20112011
"using the high-level :func:`asyncio.open_connection` function and streams."
20122012
msgstr""
20132013

2014-
#:../../library/asyncio-eventloop.rst:1690
2014+
#:../../library/asyncio-eventloop.rst:1693
20152015
msgid"Set signal handlers for SIGINT and SIGTERM"
20162016
msgstr""
20172017

2018-
#:../../library/asyncio-eventloop.rst:1692
2018+
#:../../library/asyncio-eventloop.rst:1695
20192019
msgid"(This ``signals`` example only works on Unix.)"
20202020
msgstr""
20212021

2022-
#:../../library/asyncio-eventloop.rst:1694
2022+
#:../../library/asyncio-eventloop.rst:1697
20232023
msgid""
20242024
"Register handlers for signals :py:data:`SIGINT` and :py:data:`SIGTERM` using "
20252025
"the :meth:`loop.add_signal_handler` method::"

‎library/multiprocessing.po

Lines changed: 6 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:2022-10-04 00:24+0000\n"
10+
"POT-Creation-Date:2022-10-05 00:24+0000\n"
1111
"PO-Revision-Date:2018-05-23 16:06+0000\n"
1212
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -2780,10 +2780,11 @@ msgstr ""
27802780

27812781
#:../../library/multiprocessing.rst:2597
27822782
msgid""
2783-
"An ``'AF_PIPE'`` address is a string of the form :samp:`r'\\\\\\\\.\\\\pipe\\"
2784-
"\\{PipeName}'`. To use :func:`Client` to connect to a named pipe on a "
2785-
"remote computer called *ServerName* one should use an address of the form :"
2786-
"samp:`r'\\\\\\\\{ServerName}\\\\pipe\\\\{PipeName}'` instead."
2783+
"An ``'AF_PIPE'`` address is a string of the form :samp:`r'\\\\\\\\\\\\.\\"
2784+
"\\pipe\\\\\\\\{PipeName}'`. To use :func:`Client` to connect to a named "
2785+
"pipe on a remote computer called *ServerName* one should use an address of "
2786+
"the form :samp:`r'\\\\\\\\\\\\\\\\{ServerName}\\\\pipe\\\\\\\\{PipeName}'` "
2787+
"instead."
27872788
msgstr""
27882789

27892790
#:../../library/multiprocessing.rst:2602

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp