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

Commit76ba5bc

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

File tree

3 files changed

+3017
-3020
lines changed

3 files changed

+3017
-3020
lines changed

‎library/functools.po

Lines changed: 41 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version:Python 3.6\n"
1010
"Report-Msgid-Bugs-To:\n"
11-
"POT-Creation-Date:2018-01-05 15:01+0000\n"
11+
"POT-Creation-Date:2018-10-24 14:42+0900\n"
1212
"PO-Revision-Date:YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator:tomo🐧, 2018\n"
1414
"Language-Team:Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -66,7 +66,7 @@ msgstr ""
6666
"場合には正の数を返す、あらゆる呼び出し可能オブジェクトです。key "
6767
"関数は呼び出し可能オブジェクトで、1つの引数を受け取り、ソートキーとして使われる値を返します。"
6868

69-
#:../../library/functools.rst:37../../library/functools.rst:220
69+
#:../../library/functools.rst:37../../library/functools.rst:221
7070
msgid"Example::"
7171
msgstr"以下はプログラム例です::"
7272

@@ -208,18 +208,14 @@ msgstr "認識できない型に対して下層の比較関数から NotImplemen
208208

209209
#:../../library/functools.rst:170
210210
msgid""
211-
"Return a new :class:`partial` object which when called will behave like "
212-
"*func* called with the positional arguments *args* and keyword arguments "
213-
"*keywords*. If more arguments are supplied to the call, they areappended to"
214-
"*args*. If additional keyword arguments are supplied, they extend and "
215-
"override *keywords*. Roughly equivalent to::"
211+
"Return a new :ref:`partial object<partial-objects>` which when called will "
212+
"behave like*func* called with the positional arguments *args* and keyword "
213+
"arguments*keywords*. If more arguments are supplied to the call, they are "
214+
"appended to*args*. If additional keyword arguments are supplied, they "
215+
"extend andoverride *keywords*. Roughly equivalent to::"
216216
msgstr""
217-
"新しい :class:`partial` オブジェクトを返します。このオブジェクトは呼び出されると位置引数 *args* とキーワード引数 "
218-
"*keywords* 付きで呼び出された *func* のように振る舞います。呼び出しに際してさらなる引数が渡された場合、それらは *args* "
219-
"に付け加えられます。追加のキーワード引数が渡された場合には、それらで *keywords* "
220-
"を拡張または上書きします。大雑把にいうと、次のコードと等価です::"
221217

222-
#:../../library/functools.rst:186
218+
#:../../library/functools.rst:187
223219
msgid""
224220
"The :func:`partial` is used for partial function application which "
225221
"\"freezes\" some portion of a function's arguments and/or keywords resulting"
@@ -232,7 +228,7 @@ msgstr ""
232228
":func:`partial` を使って *base* 引数のデフォルトが 2 である :func:`int` "
233229
"関数のように振る舞う呼び出し可能オブジェクトを作ることができます:"
234230

235-
#:../../library/functools.rst:201
231+
#:../../library/functools.rst:202
236232
msgid""
237233
"Return a new :class:`partialmethod` descriptor which behaves like "
238234
":class:`partial` except that it is designed to be used as a method "
@@ -241,28 +237,24 @@ msgstr ""
241237
":class:`partial` と似た動作をする新しい :class:`partialmethod` 記述子 (デスクリプタ) "
242238
"を返します。直接呼び出しではなく、メソッド定義としての使用が目的であることのみが、partial とは異なります。"
243239

244-
#:../../library/functools.rst:205
240+
#:../../library/functools.rst:206
245241
msgid""
246242
"*func* must be a :term:`descriptor` or a callable (objects which are both, "
247243
"like normal functions, are handled as descriptors)."
248244
msgstr""
249245
"*func* は、:term:`descriptor` または呼び出し可能オブジェクトである必要があります "
250246
"(通常の関数など、両方の性質を持つオブジェクトは記述子として扱われます。)"
251247

252-
#:../../library/functools.rst:208
248+
#:../../library/functools.rst:209
253249
msgid""
254250
"When *func* is a descriptor (such as a normal Python function, "
255251
":func:`classmethod`, :func:`staticmethod`, :func:`abstractmethod` or another"
256252
" instance of :class:`partialmethod`), calls to ``__get__`` are delegated to "
257-
"the underlying descriptor, and an appropriate :class:`partial` object"
258-
"returned as the result."
253+
"the underlying descriptor, and an appropriate :ref:`partial object<partial-"
254+
"objects>`returned as the result."
259255
msgstr""
260-
"*func* が (Python の通常の関数、 "
261-
":func:`classmethod`、:func:`staticmethod`、:func:`abstractmethod` または別の "
262-
":class:`partialmethod` のインスタンスなど) の記述子の場合、 ``__get__`` "
263-
"への呼び出しは下層の記述子に委譲され、結果として適切な :class:`partial` オブジェクトが返されます。"
264256

265-
#:../../library/functools.rst:214
257+
#:../../library/functools.rst:215
266258
msgid""
267259
"When *func* is a non-descriptor callable, an appropriate bound method is "
268260
"created dynamically. This behaves like a normal Python function when used as"
@@ -274,7 +266,7 @@ msgstr ""
274266
"は、メソッドとして使用された場合、Python の通常の関数と同様に動作します。 :class:`partialmethod` コンストラクタに "
275267
"*args* と *keywords* が渡されるよりも前に、 *self* 引数が最初の位置引数として挿入されます。"
276268

277-
#:../../library/functools.rst:245
269+
#:../../library/functools.rst:246
278270
msgid""
279271
"Apply *function* of two arguments cumulatively to the items of *sequence*, "
280272
"from left to right, so as to reduce the sequence to a single value. For "
@@ -293,18 +285,18 @@ msgstr ""
293285
"が存在する場合、計算の際にイテラブルの先頭に置かれ、またイテラブルが空の場合のデフォルトになります。*initializer* "
294286
"が与えられておらず、*iterable* が単一の要素しか持っていない場合、最初の要素が返されます。"
295287

296-
#:../../library/functools.rst:254
288+
#:../../library/functools.rst:255
297289
msgid"Roughly equivalent to::"
298290
msgstr"およそ次と等価です::"
299291

300-
#:../../library/functools.rst:269
292+
#:../../library/functools.rst:270
301293
msgid""
302294
"Transform a function into a :term:`single-dispatch <single dispatch>` "
303295
":term:`generic function`."
304296
msgstr""
305297
"関数を :term:`シングルディスパッチ <single dispatch>` :term:`generic function` に変換します。"
306298

307-
#:../../library/functools.rst:272
299+
#:../../library/functools.rst:273
308300
msgid""
309301
"To define a generic function, decorate it with the ``@singledispatch`` "
310302
"decorator. Note that the dispatch happens on the type of the first argument,"
@@ -313,7 +305,7 @@ msgstr ""
313305
"汎用関数を定義するには、 ``@singledispatch`` デコレータでデコレートします。ディスパッチは 1 "
314306
"つ目の引数の型で行われることに注意して、関数を次のように作成してください::"
315307

316-
#:../../library/functools.rst:283
308+
#:../../library/functools.rst:284
317309
msgid""
318310
"To add overloaded implementations to the function, use the :func:`register` "
319311
"attribute of the generic function. It is a decorator, taking a type "
@@ -323,13 +315,13 @@ msgstr ""
323315
"関数にオーバーロード実装を追加するには、汎用関数の :func:`register` "
324316
"属性を使用します。この属性は、型引数を取り、その型の操作を実装する関数をデコレートするデコレータです::"
325317

326-
#:../../library/functools.rst:301
318+
#:../../library/functools.rst:302
327319
msgid""
328320
"To enable registering lambdas and pre-existing functions, the "
329321
":func:`register` attribute can be used in a functional form::"
330322
msgstr":func:`register` 属性を関数形式で使用すると、lambda 関数と既存の関数の登録を有効にできます::"
331323

332-
#:../../library/functools.rst:309
324+
#:../../library/functools.rst:310
333325
msgid""
334326
"The :func:`register` attribute returns the undecorated function which "
335327
"enables decorator stacking, pickling, as well as creating unit tests for "
@@ -338,13 +330,13 @@ msgstr ""
338330
" :func:`register` 属性は、デコレートされていない関数を返します。この関数により、複層デコレータ、デコレータの pickle "
339331
"化、各変数の独立なユニットテストの作成が可能です::"
340332

341-
#:../../library/functools.rst:323
333+
#:../../library/functools.rst:324
342334
msgid""
343335
"When called, the generic function dispatches on the type of the first "
344336
"argument::"
345337
msgstr"汎用関数は、呼び出されると 1 つ目の引数の型でディスパッチします::"
346338

347-
#:../../library/functools.rst:343
339+
#:../../library/functools.rst:344
348340
msgid""
349341
"Where there is no registered implementation for a specific type, its method "
350342
"resolution order is used to find a more generic implementation. The original"
@@ -355,19 +347,19 @@ msgstr ""
355347
"特定の型について登録された実装が存在しない場合、その型のメソッド解決順序が、汎用の実装をさらに検索するために使用されます。``@singledispatch``"
356348
" でデコレートされた元の関数は基底の ``object`` 型に登録されます。これは、他によりよい実装が見つからないことを意味します。"
357349

358-
#:../../library/functools.rst:349
350+
#:../../library/functools.rst:350
359351
msgid""
360352
"To check which implementation will the generic function choose for a given "
361353
"type, use the ``dispatch()`` attribute::"
362354
msgstr"指定された型に対して、汎用関数がどの実装を選択するかを確認するには、``dispatch()`` 属性を使用します::"
363355

364-
#:../../library/functools.rst:357
356+
#:../../library/functools.rst:358
365357
msgid""
366358
"To access all registered implementations, use the read-only ``registry`` "
367359
"attribute::"
368360
msgstr"登録されたすべての実装にアクセスするには、読み出し専用の ``registry`` 属性を使用します::"
369361

370-
#:../../library/functools.rst:374
362+
#:../../library/functools.rst:375
371363
msgid""
372364
"Update a *wrapper* function to look like the *wrapped* function. The "
373365
"optional arguments are tuples to specify which attributes of the original "
@@ -386,7 +378,7 @@ msgstr ""
386378
"``__qualname__``, ``__annotations__`` そしてドキュメンテーション文字列 ``__doc__`` に代入する) と "
387379
"``WRAPPER_UPDATES`` (これはラッパー関数の ``__dict__`` すなわちインスタンス辞書をアップデートする) です。"
388380

389-
#:../../library/functools.rst:384
381+
#:../../library/functools.rst:385
390382
msgid""
391383
"To allow access to the original function for introspection and other "
392384
"purposes (e.g. bypassing a caching decorator such as :func:`lru_cache`), "
@@ -396,7 +388,7 @@ msgstr ""
396388
"内観や別の目的 (例えば、 :func:`lru_cache` のようなキャッシュするデコレータの回避) "
397389
"のために元の関数にアクセスできるように、この関数はラップされている関数を参照するラッパーに自動的に ``__wrapped__`` 属性を追加します。"
398390

399-
#:../../library/functools.rst:389
391+
#:../../library/functools.rst:390
400392
msgid""
401393
"The main intended use for this function is in :term:`decorator` functions "
402394
"which wrap the decorated function and return the wrapper. If the wrapper "
@@ -407,7 +399,7 @@ msgstr ""
407399
"この関数は主に関数を包んでラッパーを返す :term:`デコレータ <decorator>` "
408400
"関数の中で使われるよう意図されています。もしラッパー関数がアップデートされないとすると、返される関数のメタデータは元の関数の定義ではなくラッパー関数の定義を反映してしまい、これは通常あまり有益ではありません。"
409401

410-
#:../../library/functools.rst:395
402+
#:../../library/functools.rst:396
411403
msgid""
412404
":func:`update_wrapper` may be used with callables other than functions. Any "
413405
"attributes named in *assigned* or *updated* that are missing from the object"
@@ -420,19 +412,19 @@ msgstr ""
420412
"(すなわち、ラッパー関数にそれらの属性を設定しようとは試みられません)。しかし、 *updated* で指名された属性がラッパー関数自身に存在しないなら"
421413
" :exc:`AttributeError` が送出されます。"
422414

423-
#:../../library/functools.rst:401
415+
#:../../library/functools.rst:402
424416
msgid"Automatic addition of the ``__wrapped__`` attribute."
425417
msgstr"``__wrapped__`` 属性の自動的な追加。"
426418

427-
#:../../library/functools.rst:404
419+
#:../../library/functools.rst:405
428420
msgid"Copying of the ``__annotations__`` attribute by default."
429421
msgstr"デフォルトで ``__annotations__`` 属性がコピーされます。"
430422

431-
#:../../library/functools.rst:407
423+
#:../../library/functools.rst:408
432424
msgid"Missing attributes no longer trigger an :exc:`AttributeError`."
433425
msgstr"存在しない属性によって :exc:`AttributeError` を発生しなくなりました。"
434426

435-
#:../../library/functools.rst:410
427+
#:../../library/functools.rst:411
436428
msgid""
437429
"The ``__wrapped__`` attribute now always refers to the wrapped function, "
438430
"even if that function defined a ``__wrapped__`` attribute. (see "
@@ -441,7 +433,7 @@ msgstr ""
441433
"ラップされた関数が ``__wrapped__`` を定義していない場合でも、 ``__wrapped__`` "
442434
"が常にラップされた関数を参照するようになりました。(:issue:`17482` を参照)"
443435

444-
#:../../library/functools.rst:418
436+
#:../../library/functools.rst:419
445437
msgid""
446438
"This is a convenience function for invoking :func:`update_wrapper` as a "
447439
"function decorator when defining a wrapper function. It is equivalent to "
@@ -452,7 +444,7 @@ msgstr ""
452444
"``partial(update_wrapper, wrapped=wrapped, assigned=assigned, "
453445
"updated=updated)`` と等価です。例えば::"
454446

455-
#:../../library/functools.rst:444
447+
#:../../library/functools.rst:445
456448
msgid""
457449
"Without the use of this decorator factory, the name of the example function "
458450
"would have been ``'wrapper'``, and the docstring of the original "
@@ -461,39 +453,39 @@ msgstr ""
461453
"このデコレータ・ファクトリを使用しないと、上の例中の関数の名前は ``'wrapper'`` となり、元の :func:`example` "
462454
"のドキュメンテーション文字列は失われてしまいます。"
463455

464-
#:../../library/functools.rst:452
456+
#:../../library/functools.rst:453
465457
msgid":class:`partial` Objects"
466458
msgstr":class:`partial` オブジェクト"
467459

468-
#:../../library/functools.rst:454
460+
#:../../library/functools.rst:455
469461
msgid""
470462
":class:`partial` objects are callable objects created by :func:`partial`. "
471463
"They have three read-only attributes:"
472464
msgstr""
473465
":class:`partial` オブジェクトは、 :func:`partial` "
474466
"関数によって作られる呼び出し可能オブジェクトです。オブジェクトには読み出し専用の属性が三つあります:"
475467

476-
#:../../library/functools.rst:460
468+
#:../../library/functools.rst:461
477469
msgid""
478470
"A callable object or function. Calls to the :class:`partial` object will be"
479471
" forwarded to :attr:`func` with new arguments and keywords."
480472
msgstr""
481473
"呼び出し可能オブジェクトまたは関数です。 :class:`partial` オブジェクトの呼び出しは新しい引数とキーワードと共に "
482474
":attr:`func` に転送されます。"
483475

484-
#:../../library/functools.rst:466
476+
#:../../library/functools.rst:467
485477
msgid""
486478
"The leftmost positional arguments that will be prepended to the positional "
487479
"arguments provided to a :class:`partial` object call."
488480
msgstr"最左の位置引数で、 :class:`partial` オブジェクトの呼び出し時にその呼び出しの際の位置引数の前に追加されます。"
489481

490-
#:../../library/functools.rst:472
482+
#:../../library/functools.rst:473
491483
msgid""
492484
"The keyword arguments that will be supplied when the :class:`partial` object"
493485
" is called."
494486
msgstr":class:`partial` オブジェクトの呼び出し時に渡されるキーワード引数です。"
495487

496-
#:../../library/functools.rst:475
488+
#:../../library/functools.rst:476
497489
msgid""
498490
":class:`partial` objects are like :class:`function` objects in that they are"
499491
" callable, weak referencable, and can have attributes. There are some "

‎library/shutil.po

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version:Python 3.6\n"
1010
"Report-Msgid-Bugs-To:\n"
11-
"POT-Creation-Date:2018-01-15 15:01+0000\n"
11+
"POT-Creation-Date:2018-10-24 14:42+0900\n"
1212
"PO-Revision-Date:YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator:tomo🐧, 2018\n"
1414
"Language-Team:Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -266,9 +266,8 @@ msgstr "*follow_symlinks* 引数が追加されました。新しく作成され
266266
#:../../library/shutil.rst:168
267267
msgid""
268268
"Identical to :func:`~shutil.copy` except that :func:`copy2` also attempts to"
269-
" preserveallfile metadata."
269+
" preserve file metadata."
270270
msgstr""
271-
":func:`copy2` はファイルの全てのメタデータを保持しようとすることを除けば :func:`~shutil.copy` と等価です。"
272271

273272
#:../../library/shutil.rst:171
274273
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp