Skip to content

Commit 1a29ebe

Browse files
authored
Merge pull request #351 from mattwang44/capi/concrete
Translate `c-api/concrete.po`
2 parents acbafbe + df04e40 commit 1a29ebe

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

c-api/concrete.po

+14-4
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,26 @@
33
# This file is distributed under the same license as the Python package.
44
#
55
# Translators:
6+
# Matt Wang <mattwang44@gmail.com>, 2022
67
msgid ""
78
msgstr ""
89
"Project-Id-Version: Python 3.11\n"
910
"Report-Msgid-Bugs-To: \n"
1011
"POT-Creation-Date: 2020-06-20 18:08+0800\n"
11-
"PO-Revision-Date: 2017-09-22 18:26+0000\n"
12-
"Last-Translator: Liang-Bo Wang <me@liang2.tw>\n"
12+
"PO-Revision-Date: 2022-11-13 20:37+0800\n"
13+
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
1314
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1415
"tw)\n"
1516
"Language: zh_TW\n"
1617
"MIME-Version: 1.0\n"
1718
"Content-Type: text/plain; charset=UTF-8\n"
1819
"Content-Transfer-Encoding: 8bit\n"
1920
"Plural-Forms: nplurals=1; plural=0;\n"
21+
"X-Generator: Poedit 3.2\n"
2022

2123
#: ../../c-api/concrete.rst:8
2224
msgid "Concrete Objects Layer"
23-
msgstr ""
25+
msgstr "具體物件層"
2426

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

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

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

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

6878
#: ../../c-api/concrete.rst:78
6979
msgid "Container Objects"

0 commit comments

Comments
 (0)