File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 6
6
# Translators:
7
7
# tomo, 2018
8
8
# Osamu NAKAMURA, 2019
9
+ # Yuta Kanzawa, 2019
9
10
#
10
11
#, fuzzy
11
12
msgid ""
@@ -14,7 +15,7 @@ msgstr ""
14
15
"Report-Msgid-Bugs-To : \n "
15
16
"POT-Creation-Date : 2019-12-17 18:25+0900\n "
16
17
"PO-Revision-Date : 2018-06-29 17:45+0000\n "
17
- "Last-Translator : Osamu NAKAMURA , 2019\n "
18
+ "Last-Translator : Yuta Kanzawa , 2019\n "
18
19
"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
19
20
"MIME-Version : 1.0\n "
20
21
"Content-Type : text/plain; charset=UTF-8\n "
@@ -414,6 +415,9 @@ msgid ""
414
415
"argument. Otherwise, the compiler will emit a warning. This is object-"
415
416
"oriented polymorphism, in C!"
416
417
msgstr ""
418
+ "上の ``destructor`` への明示的な型変換は必要です。なぜなら、 ``Custom_dealloc`` が ``CustomObject "
419
+ "*`` 引数をとると定義しましたが、 ``tp_dealloc`` 関数のポインタは ``PyObject *`` "
420
+ "引数を受け取ることになっているからです。もし明示的に型変換をしなければ、コンパイラが警告を発するでしょう。これは、Cにおけるオブジェクト指向のポリモーフィズムです!"
417
421
418
422
#: /home/travis/build/python/cpython-doc-catalog/Doc/extending/newtypes_tutorial.rst:285
419
423
msgid ""
You can’t perform that action at this time.
0 commit comments