Skip to content

Translate c-api/concrete.po #351

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 1 commit into from
Mar 3, 2023
Merged
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
18 changes: 14 additions & 4 deletions c-api/concrete.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,26 @@
# This file is distributed under the same license as the Python package.
#
# Translators:
# Matt Wang <mattwang44@gmail.com>, 2022
msgid ""
msgstr ""
"Project-Id-Version: Python 3.11\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-06-20 18:08+0800\n"
"PO-Revision-Date: 2017-09-22 18:26+0000\n"
"Last-Translator: Liang-Bo Wang <me@liang2.tw>\n"
"PO-Revision-Date: 2022-11-13 20:37+0800\n"
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Poedit 3.2\n"

#: ../../c-api/concrete.rst:8
msgid "Concrete Objects Layer"
msgstr ""
msgstr "具體物件層"

#: ../../c-api/concrete.rst:10
msgid ""
Expand All @@ -31,6 +33,10 @@ msgid ""
"object is a dictionary, use :c:func:`PyDict_Check`. The chapter is "
"structured like the \"family tree\" of Python object types."
msgstr ""
"此章節列出的函式僅能接受某些特定的 Python 物件型別,將錯誤型別的物件傳遞給它"
"們並不是什麼好事,如果你從 Python 程式當中接收到一個不確定是否為正確型別的物"
"件,那麼請一定要先做型別檢查。例如使用 :c:func:`PyDict_Check` 來確認一個物件"
"是否為字典。本章結構類似於 Python 物件型別的\"族譜圖 (family tree)\"。"

#: ../../c-api/concrete.rst:19
msgid ""
Expand All @@ -40,6 +46,8 @@ msgid ""
"can cause memory access violations and immediate termination of the "
"interpreter."
msgstr ""
"雖然本章所述之函式仔細地檢查了傳入物件的型別,但大多並無檢查是否為 `NULL``。"
"允許 ``NULL`` 的傳入可能造成記憶體的不合法存取和直譯器的立即中止。"

#: ../../c-api/concrete.rst:28
msgid "Fundamental Objects"
Expand All @@ -48,7 +56,7 @@ msgstr "基礎物件"
#: ../../c-api/concrete.rst:30
msgid ""
"This section describes Python type objects and the singleton object ``None``."
msgstr ""
msgstr "此段落描述 Python 型別物件與單例 (singleton) 物件 ``None``。"

#: ../../c-api/concrete.rst:41
msgid "Numeric Objects"
Expand All @@ -64,6 +72,8 @@ msgid ""
"chapter; this section deals with the specific kinds of sequence objects that "
"are intrinsic to the Python language."
msgstr ""
"序列物件的一般操作在前一章節討論過了;此段落將討論 Python 語言特有的特定型別"
"序列物件。"

#: ../../c-api/concrete.rst:78
msgid "Container Objects"
Expand Down