Skip to content

Sync with CPython 3.10 #241

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Feb 20, 2022
Merged
Show file tree
Hide file tree
Changes from all 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
6 changes: 3 additions & 3 deletions faq/programming.po
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.10\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-11-21 00:09+0000\n"
"POT-Creation-Date: 2022-02-15 00:10+0000\n"
"PO-Revision-Date: 2018-05-23 14:35+0000\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -1988,7 +1988,7 @@ msgstr ""
#: ../../faq/programming.rst:1821
msgid ""
"2) Detecting optional arguments can be tricky when ``None`` is a valid input "
"value. In those situations, you can create an singleton sentinel object "
"value. In those situations, you can create a singleton sentinel object "
"guaranteed to be distinct from other objects. For example, here is how to "
"implement a method that behaves like :meth:`dict.pop`::"
msgstr ""
Expand Down Expand Up @@ -2049,7 +2049,7 @@ msgstr ""

#: ../../faq/programming.rst:1911
msgid ""
"The advantage is that when an instance is not longer used, the cached method "
"The advantage is that when an instance is no longer used, the cached method "
"result will be released right away. The disadvantage is that if instances "
"accumulate, so too will the accumulated method results. They can grow "
"without bound."
Expand Down
4 changes: 2 additions & 2 deletions library/__main__.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.10\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-11-14 00:09+0000\n"
"POT-Creation-Date: 2022-02-15 00:10+0000\n"
"PO-Revision-Date: 2015-12-09 17:51+0000\n"
"Last-Translator: Liang-Bo Wang <me@liang2.tw>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -271,7 +271,7 @@ msgstr ""
msgid ""
"This won't work for ``__main__.py`` files in the root directory of a .zip "
"file though. Hence, for consistency, minimal ``__main__.py`` like the :mod:"
"`venv` one mentioned above are preferred."
"`venv` one mentioned below are preferred."
msgstr ""

#: ../../library/__main__.rst:260
Expand Down
Loading