Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2e18cbc

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent9df9208 commit2e18cbc

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

‎extending/newtypes_tutorial.po

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,11 @@ msgid ""
401401
"object's type might not be :class:`CustomType`, because the object may be an"
402402
" instance of a subclass."
403403
msgstr""
404+
"このメソッドは、まず二つのPython 属性の参照カウントをクリアします。 :c:func:`Py_XDECREF` は引数が ``NULL`` "
405+
"のケースを正しく扱えます( これは、``tp_new`` が途中で失敗した場合に起こりえます)。このメソッドは、つぎにオブジェクトの型 "
406+
"(``Py_TYPE(self)`` で算出します)のメンバ :c:member:`~PyTypeObject.tp_free` "
407+
"を呼び出し、オブジェクトのメモリを開放します。オブジェクトの型が :class:`CustomType` "
408+
"であるとは限らない点に注意してください。なぜなら、オブジェクトはサブクラスのインスタンスかもしれないからです。"
404409

405410
#:/home/travis/build/python/cpython-doc-catalog/Doc/extending/newtypes_tutorial.rst:285
406411
msgid""
@@ -410,6 +415,9 @@ msgid ""
410415
"argument. Otherwise, the compiler will emit a warning. This is object-"
411416
"oriented polymorphism, in C!"
412417
msgstr""
418+
"上の ``destructor`` への明示的な型変換は必要です。なぜなら、 ``Custom_dealloc`` が ``CustomObject "
419+
"*`` 引数をとると定義しましたが、 ``tp_dealloc`` 関数のポインタは ``PyObject *`` "
420+
"引数を受け取ることになっているからです。もし明示的に型変換をしなければ、コンパイラが警告を発するでしょう。これは、Cにおけるオブジェクト指向のポリモーフィズムです!"
413421

414422
#:/home/travis/build/python/cpython-doc-catalog/Doc/extending/newtypes_tutorial.rst:291
415423
msgid""

‎library/datetime.po

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3238,6 +3238,9 @@ msgid ""
32383238
"seconds. For example, ``'+01:00:00'`` will be parsed as an offset of one "
32393239
"hour. In addition, providing ``'Z'`` is identical to ``'+00:00'``."
32403240
msgstr""
3241+
"``%z`` 指定子が :meth:`strptime` メソッドに渡されたときは、時分秒のセパレータとしてコロンが UTC オフセットで使えます。\n"
3242+
"例えば、 ``'+01:00:00'`` は 1 時間のオフセットだと構文解析されます。\n"
3243+
"加えて、 ``'Z'`` を渡すことは ``'+00:00'`` と同等です。"
32413244

32423245
#:/home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:2259
32433246
msgid""
@@ -3281,6 +3284,8 @@ msgid ""
32813284
" formats ``%d``, ``%m``, ``%H``, ``%I``, ``%M``, ``%S``, ``%J``, ``%U``, "
32823285
"``%W``, and ``%V``. Format ``%y`` does require a leading zero."
32833286
msgstr""
3287+
":meth:`strptime` メソッドと共に使われたときは、書式 ``%d``, ``%m``, ``%H``, ``%I``, ``%M``, ``%S``, ``%J``, ``%U``, ``%W``, ``%V`` の後ろに続ける 0 は任意です。\n"
3288+
"書式 ``%y`` では後ろに続ける 0 は必須です。"
32843289

32853290
#:/home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:2285
32863291
msgid"Footnotes"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp