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

Commit67385e2

Browse files
sync with cpython 0260c38e
1 parent2a1a15d commit67385e2

File tree

7 files changed

+1130
-1101
lines changed

7 files changed

+1130
-1101
lines changed

‎library/contextlib.po

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version:Python 3.12\n"
99
"Report-Msgid-Bugs-To:\n"
10-
"POT-Creation-Date:2023-11-11 00:03+0000\n"
10+
"POT-Creation-Date:2023-12-08 16:59+0000\n"
1111
"PO-Revision-Date:2018-05-23 14:41+0000\n"
1212
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -134,9 +134,9 @@ msgstr ""
134134
msgid""
135135
"This function is a :term:`decorator` that can be used to define a factory "
136136
"function for :keyword:`async with` statement asynchronous context managers, "
137-
"without needing to create a class or separate :meth:`__aenter__`and :meth:"
138-
"`__aexit__` methods. It must be applied to an :term:`asynchronous generator`"
139-
"function."
137+
"without needing to create a class or separate :meth:`~object.__aenter__` "
138+
"and :meth:`~object.__aexit__` methods. It must be applied to an :term:"
139+
"`asynchronous generator`function."
140140
msgstr""
141141

142142
#:../../library/contextlib.rst:113
@@ -555,13 +555,14 @@ msgstr ""
555555

556556
#:../../library/contextlib.rst:619
557557
msgid""
558-
"The :meth:`close` method is not implemented, :meth:`aclose` must be used "
559-
"instead."
558+
"The :meth:`~ExitStack.close` method is not implemented; :meth:`aclose` must "
559+
"be usedinstead."
560560
msgstr""
561561

562562
#:../../library/contextlib.rst:624
563563
msgid""
564-
"Similar to :meth:`enter_context` but expects an asynchronous context manager."
564+
"Similar to :meth:`ExitStack.enter_context` but expects an asynchronous "
565+
"context manager."
565566
msgstr""
566567

567568
#:../../library/contextlib.rst:627
@@ -572,16 +573,16 @@ msgstr ""
572573

573574
#:../../library/contextlib.rst:633
574575
msgid""
575-
"Similar to :meth:`push` but expects either an asynchronous context manager "
576-
"or a coroutine function."
576+
"Similar to :meth:`ExitStack.push` but expects either an asynchronous context "
577+
"manageror a coroutine function."
577578
msgstr""
578579

579580
#:../../library/contextlib.rst:638
580-
msgid"Similar to :meth:`callback` but expects a coroutine function."
581+
msgid"Similar to :meth:`ExitStack.callback` but expects a coroutine function."
581582
msgstr""
582583

583584
#:../../library/contextlib.rst:642
584-
msgid"Similar to :meth:`close` but properly handles awaitables."
585+
msgid"Similar to :meth:`ExitStack.close` but properly handles awaitables."
585586
msgstr""
586587

587588
#:../../library/contextlib.rst:644

‎library/inspect.po

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version:Python 3.12\n"
99
"Report-Msgid-Bugs-To:\n"
10-
"POT-Creation-Date:2023-12-07 00:03+0000\n"
10+
"POT-Creation-Date:2023-12-08 16:59+0000\n"
1111
"PO-Revision-Date:2022-10-16 06:59+0800\n"
1212
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -761,9 +761,8 @@ msgstr ""
761761
msgid""
762762
"Methods implemented via descriptors that also pass one of the other tests "
763763
"return ``False`` from the :func:`ismethoddescriptor` test, simply because "
764-
"the other tests promise more -- you can, e.g., count on having the :ref:"
765-
"`__func__ <instance-methods>` attribute (etc) when an object passes :func:"
766-
"`ismethod`."
764+
"the other tests promise more -- you can, e.g., count on having the :attr:"
765+
"`~method.__func__` attribute (etc) when an object passes :func:`ismethod`."
767766
msgstr""
768767

769768
#:../../library/inspect.rst:501

‎library/shelve.po

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version:Python 3.12\n"
99
"Report-Msgid-Bugs-To:\n"
10-
"POT-Creation-Date:2023-07-22 00:04+0000\n"
10+
"POT-Creation-Date:2023-12-08 16:59+0000\n"
1111
"PO-Revision-Date:2018-05-23 16:09+0000\n"
1212
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -195,18 +195,18 @@ msgstr "新增情境管理器的支援。"
195195

196196
#:../../library/shelve.rst:152
197197
msgid""
198-
"A subclass of :class:`Shelf` which exposes :meth:`first`, :meth:`!next`, :"
199-
"meth:`previous`, :meth:`last` and :meth:`set_location`which are available "
200-
"in the third-party :mod:`bsddb` module from `pybsddb <https://www.jcea.es/"
201-
"programacion/pybsddb.htm>`_ but not in other database modules. The *dict* "
202-
"object passed to the constructor must support those methods. This is "
203-
"generally accomplished by calling one of :func:`bsddb.hashopen`, :func:"
204-
"`bsddb.btopen` or :func:`bsddb.rnopen`. The optional *protocol*, "
198+
"A subclass of :class:`Shelf` which exposes :meth:`!first`, :meth:`!next`, :"
199+
"meth:`!previous`, :meth:`!last` and :meth:`!set_location`methods. These are "
200+
"availablein the third-party :mod:`!bsddb` module from `pybsddb <https://www."
201+
"jcea.es/programacion/pybsddb.htm>`_ but not in other database modules. The "
202+
"*dict*object passed to the constructor must support those methods. This is "
203+
"generally accomplished by calling one of :func:`!bsddb.hashopen`, :func:`!"
204+
"bsddb.btopen` or :func:`!bsddb.rnopen`. The optional *protocol*, "
205205
"*writeback*, and *keyencoding* parameters have the same interpretation as "
206206
"for the :class:`Shelf` class."
207207
msgstr""
208208

209-
#:../../library/shelve.rst:165
209+
#:../../library/shelve.rst:166
210210
msgid""
211211
"A subclass of :class:`Shelf` which accepts a *filename* instead of a dict-"
212212
"like object. The underlying file will be opened using :func:`dbm.open`. By "
@@ -216,29 +216,29 @@ msgid ""
216216
"same interpretation as for the :class:`Shelf` class."
217217
msgstr""
218218

219-
#:../../library/shelve.rst:176
219+
#:../../library/shelve.rst:177
220220
msgid"Example"
221221
msgstr"範例"
222222

223-
#:../../library/shelve.rst:178
223+
#:../../library/shelve.rst:179
224224
msgid""
225225
"To summarize the interface (``key`` is a string, ``data`` is an arbitrary "
226226
"object)::"
227227
msgstr""
228228

229-
#:../../library/shelve.rst:215
229+
#:../../library/shelve.rst:216
230230
msgid"Module :mod:`dbm`"
231231
msgstr":mod:`dbm` 模組"
232232

233-
#:../../library/shelve.rst:215
233+
#:../../library/shelve.rst:216
234234
msgid"Generic interface to ``dbm``-style databases."
235235
msgstr""
236236

237-
#:../../library/shelve.rst:217
237+
#:../../library/shelve.rst:218
238238
msgid"Module :mod:`pickle`"
239239
msgstr":mod:`pickle` 模組"
240240

241-
#:../../library/shelve.rst:218
241+
#:../../library/shelve.rst:219
242242
msgid"Object serialization used by :mod:`shelve`."
243243
msgstr""
244244

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp