Skip to content

Commit 4c76e7a

Browse files
pydoc-zh-tw[bot]github-actions[bot]mattwang44
authored
Sync with CPython 3.10 (#241)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Matt.Wang <mattwang44@gmail.com>
1 parent 359c13c commit 4c76e7a

16 files changed

+707
-710
lines changed

faq/programming.po

Lines changed: 3 additions & 3 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: 2021-11-21 00:09+0000\n"
13+
"POT-Creation-Date: 2022-02-15 00:10+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-"
@@ -1988,7 +1988,7 @@ msgstr ""
19881988
#: ../../faq/programming.rst:1821
19891989
msgid ""
19901990
"2) Detecting optional arguments can be tricky when ``None`` is a valid input "
1991-
"value. In those situations, you can create an singleton sentinel object "
1991+
"value. In those situations, you can create a singleton sentinel object "
19921992
"guaranteed to be distinct from other objects. For example, here is how to "
19931993
"implement a method that behaves like :meth:`dict.pop`::"
19941994
msgstr ""
@@ -2049,7 +2049,7 @@ msgstr ""
20492049

20502050
#: ../../faq/programming.rst:1911
20512051
msgid ""
2052-
"The advantage is that when an instance is not longer used, the cached method "
2052+
"The advantage is that when an instance is no longer used, the cached method "
20532053
"result will be released right away. The disadvantage is that if instances "
20542054
"accumulate, so too will the accumulated method results. They can grow "
20552055
"without bound."

library/__main__.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: 2021-11-14 00:09+0000\n"
10+
"POT-Creation-Date: 2022-02-15 00:10+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-"
@@ -271,7 +271,7 @@ msgstr ""
271271
msgid ""
272272
"This won't work for ``__main__.py`` files in the root directory of a .zip "
273273
"file though. Hence, for consistency, minimal ``__main__.py`` like the :mod:"
274-
"`venv` one mentioned above are preferred."
274+
"`venv` one mentioned below are preferred."
275275
msgstr ""
276276

277277
#: ../../library/__main__.rst:260

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy