99# Shun Sakurai, 2017
1010# Arihiro TAKASE, 2017
1111# E. Kawashima, 2017
12- # tomo,2020
12+ # tomo,2018
1313#
1414#, fuzzy
1515msgid ""
1616msgstr ""
1717"Project-Id-Version :Python 3.9\n "
1818"Report-Msgid-Bugs-To :\n "
19- "POT-Creation-Date :2020-05-31 09:25 +0000\n "
19+ "POT-Creation-Date :2020-06-01 03:13 +0000\n "
2020"PO-Revision-Date :2017-02-16 23:12+0000\n "
21- "Last-Translator :tomo,2020 \n "
21+ "Last-Translator :tomo,2018 \n "
2222"Language-Team :Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
2323"MIME-Version :1.0\n "
2424"Content-Type :text/plain; charset=UTF-8\n "
@@ -490,183 +490,6 @@ msgstr ""
490490
491491#: ../../library/functools.rst:548
492492msgid ""
493- "Provides functionality to topologically sort a graph of hashable nodes."
494- msgstr ""
495-
496- #: ../../library/functools.rst:550
497- msgid ""
498- "A topological order is a linear ordering of the vertices in a graph such "
499- "that for every directed edge u -> v from vertex u to vertex v, vertex u "
500- "comes before vertex v in the ordering. For instance, the vertices of the "
501- "graph may represent tasks to be performed, and the edges may represent "
502- "constraints that one task must be performed before another; in this example,"
503- " a topological ordering is just a valid sequence for the tasks. A complete "
504- "topological ordering is possible if and only if the graph has no directed "
505- "cycles, that is, if it is a directed acyclic graph."
506- msgstr ""
507-
508- #: ../../library/functools.rst:559
509- msgid ""
510- "If the optional *graph* argument is provided it must be a dictionary "
511- "representing a directed acyclic graph where the keys are nodes and the "
512- "values are iterables of all predecessors of that node in the graph (the "
513- "nodes that have edges that point to the value in the key). Additional nodes "
514- "can be added to the graph using the :meth:`~TopologicalSorter.add` method."
515- msgstr ""
516-
517- #: ../../library/functools.rst:565
518- msgid ""
519- "In the general case, the steps required to perform the sorting of a given "
520- "graph are as follows:"
521- msgstr ""
522-
523- #: ../../library/functools.rst:568
524- msgid ""
525- "Create an instance of the :class:`TopologicalSorter` with an optional "
526- "initial graph."
527- msgstr ""
528-
529- #: ../../library/functools.rst:570
530- msgid "Add additional nodes to the graph."
531- msgstr ""
532-
533- #: ../../library/functools.rst:571
534- msgid "Call :meth:`~TopologicalSorter.prepare` on the graph."
535- msgstr ""
536-
537- #: ../../library/functools.rst:572
538- msgid ""
539- "While :meth:`~TopologicalSorter.is_active` is ``True``, iterate over the "
540- "nodes returned by :meth:`~TopologicalSorter.get_ready` and process them. "
541- "Call :meth:`~TopologicalSorter.done` on each node as it finishes processing."
542- msgstr ""
543-
544- #: ../../library/functools.rst:577
545- msgid ""
546- "In case just an immediate sorting of the nodes in the graph is required and "
547- "no parallelism is involved, the convenience method "
548- ":meth:`TopologicalSorter.static_order` can be used directly:"
549- msgstr ""
550-
551- #: ../../library/functools.rst:588
552- msgid ""
553- "The class is designed to easily support parallel processing of the nodes as "
554- "they become ready. For instance::"
555- msgstr ""
556-
557- #: ../../library/functools.rst:615
558- msgid ""
559- "Add a new node and its predecessors to the graph. Both the *node* and all "
560- "elements in *predecessors* must be hashable."
561- msgstr ""
562-
563- #: ../../library/functools.rst:618
564- msgid ""
565- "If called multiple times with the same node argument, the set of "
566- "dependencies will be the union of all dependencies passed in."
567- msgstr ""
568-
569- #: ../../library/functools.rst:621
570- msgid ""
571- "It is possible to add a node with no dependencies (*predecessors* is not "
572- "provided) or to provide a dependency twice. If a node that has not been "
573- "provided before is included among *predecessors* it will be automatically "
574- "added to the graph with no predecessors of its own."
575- msgstr ""
576-
577- #: ../../library/functools.rst:626
578- msgid ""
579- "Raises :exc:`ValueError` if called after :meth:`~TopologicalSorter.prepare`."
580- msgstr ""
581-
582- #: ../../library/functools.rst:630
583- msgid ""
584- "Mark the graph as finished and check for cycles in the graph. If any cycle "
585- "is detected, :exc:`CycleError` will be raised, but "
586- ":meth:`~TopologicalSorter.get_ready` can still be used to obtain as many "
587- "nodes as possible until cycles block more progress. After a call to this "
588- "function, the graph cannot be modified, and therefore no more nodes can be "
589- "added using :meth:`~TopologicalSorter.add`."
590- msgstr ""
591-
592- #: ../../library/functools.rst:639
593- msgid ""
594- "Returns ``True`` if more progress can be made and ``False`` otherwise. "
595- "Progress can be made if cycles do not block the resolution and either there "
596- "are still nodes ready that haven't yet been returned by "
597- ":meth:`TopologicalSorter.get_ready` or the number of nodes marked "
598- ":meth:`TopologicalSorter.done` is less than the number that have been "
599- "returned by :meth:`TopologicalSorter.get_ready`."
600- msgstr ""
601-
602- #: ../../library/functools.rst:646
603- msgid ""
604- "The :meth:`~TopologicalSorter.__bool__` method of this class defers to this "
605- "function, so instead of::"
606- msgstr ""
607-
608- #: ../../library/functools.rst:652
609- msgid "if possible to simply do::"
610- msgstr ""
611-
612- #: ../../library/functools.rst:657 ../../library/functools.rst:680
613- msgid ""
614- "Raises :exc:`ValueError` if called without calling "
615- ":meth:`~TopologicalSorter.prepare` previously."
616- msgstr ""
617-
618- #: ../../library/functools.rst:662
619- msgid ""
620- "Marks a set of nodes returned by :meth:`TopologicalSorter.get_ready` as "
621- "processed, unblocking any successor of each node in *nodes* for being "
622- "returned in the future by a call to :meth:`TopologicalSorter.get_ready`."
623- msgstr ""
624-
625- #: ../../library/functools.rst:666
626- msgid ""
627- "Raises :exc:`ValueError` if any node in *nodes* has already been marked as "
628- "processed by a previous call to this method or if a node was not added to "
629- "the graph by using :meth:`TopologicalSorter.add`, if called without calling "
630- ":meth:`~TopologicalSorter.prepare` or if node has not yet been returned by "
631- ":meth:`~TopologicalSorter.get_ready`."
632- msgstr ""
633-
634- #: ../../library/functools.rst:674
635- msgid ""
636- "Returns a ``tuple`` with all the nodes that are ready. Initially it returns "
637- "all nodes with no predecessors, and once those are marked as processed by "
638- "calling :meth:`TopologicalSorter.done`, further calls will return all new "
639- "nodes that have all their predecessors already processed. Once no more "
640- "progress can be made, empty tuples are returned."
641- msgstr ""
642-
643- #: ../../library/functools.rst:685
644- msgid ""
645- "Returns an iterable of nodes in a topological order. Using this method does "
646- "not require to call :meth:`TopologicalSorter.prepare` or "
647- ":meth:`TopologicalSorter.done`. This method is equivalent to::"
648- msgstr ""
649-
650- #: ../../library/functools.rst:696
651- msgid ""
652- "The particular order that is returned may depend on the specific order in "
653- "which the items were inserted in the graph. For example:"
654- msgstr ""
655-
656- #: ../../library/functools.rst:713
657- msgid ""
658- "This is due to the fact that\" 0\" and\" 2\" are in the same level in the "
659- "graph (they would have been returned in the same call to "
660- ":meth:`~TopologicalSorter.get_ready`) and the order between them is "
661- "determined by the order of insertion."
662- msgstr ""
663-
664- #: ../../library/functools.rst:719
665- msgid "If any cycle is detected, :exc:`CycleError` will be raised."
666- msgstr ""
667-
668- #: ../../library/functools.rst:726
669- msgid ""
670493"Update a *wrapper* function to look like the *wrapped* function. The "
671494"optional arguments are tuples to specify which attributes of the original "
672495"function are assigned directly to the matching attributes on the wrapper "
@@ -684,7 +507,7 @@ msgstr ""
684507"``__qualname__``, ``__annotations__`` そしてドキュメンテーション文字列 ``__doc__`` に代入する) と "
685508"``WRAPPER_UPDATES`` (これはラッパー関数の ``__dict__`` すなわちインスタンス辞書をアップデートする) です。"
686509
687- #: ../../library/functools.rst:736
510+ #: ../../library/functools.rst:558
688511msgid ""
689512"To allow access to the original function for introspection and other "
690513"purposes (e.g. bypassing a caching decorator such as :func:`lru_cache`), "
@@ -694,7 +517,7 @@ msgstr ""
694517"内観や別の目的 (例えば、 :func:`lru_cache` のようなキャッシュするデコレータの回避) "
695518"のために元の関数にアクセスできるように、この関数はラップされている関数を参照するラッパーに自動的に ``__wrapped__`` 属性を追加します。"
696519
697- #: ../../library/functools.rst:741
520+ #: ../../library/functools.rst:563
698521msgid ""
699522"The main intended use for this function is in :term:`decorator` functions "
700523"which wrap the decorated function and return the wrapper. If the wrapper "
@@ -705,7 +528,7 @@ msgstr ""
705528"この関数は主に関数を包んでラッパーを返す :term:`デコレータ <decorator>` "
706529"関数の中で使われるよう意図されています。もしラッパー関数がアップデートされないとすると、返される関数のメタデータは元の関数の定義ではなくラッパー関数の定義を反映してしまい、これは通常あまり有益ではありません。"
707530
708- #: ../../library/functools.rst:747
531+ #: ../../library/functools.rst:569
709532msgid ""
710533":func:`update_wrapper` may be used with callables other than functions. Any "
711534"attributes named in *assigned* or *updated* that are missing from the object"
@@ -718,19 +541,19 @@ msgstr ""
718541"(すなわち、ラッパー関数にそれらの属性を設定しようとは試みられません)。しかし、 *updated* で指名された属性がラッパー関数自身に存在しないなら"
719542" :exc:`AttributeError` が送出されます。"
720543
721- #: ../../library/functools.rst:753
544+ #: ../../library/functools.rst:575
722545msgid "Automatic addition of the ``__wrapped__`` attribute."
723546msgstr "``__wrapped__`` 属性の自動的な追加。"
724547
725- #: ../../library/functools.rst:756
548+ #: ../../library/functools.rst:578
726549msgid "Copying of the ``__annotations__`` attribute by default."
727550msgstr "デフォルトで ``__annotations__`` 属性がコピーされます。"
728551
729- #: ../../library/functools.rst:759
552+ #: ../../library/functools.rst:581
730553msgid "Missing attributes no longer trigger an :exc:`AttributeError`."
731554msgstr "存在しない属性によって :exc:`AttributeError` を発生しなくなりました。"
732555
733- #: ../../library/functools.rst:762
556+ #: ../../library/functools.rst:584
734557msgid ""
735558"The ``__wrapped__`` attribute now always refers to the wrapped function, "
736559"even if that function defined a ``__wrapped__`` attribute. (see "
@@ -739,7 +562,7 @@ msgstr ""
739562"ラップされた関数が ``__wrapped__`` を定義していない場合でも、 ``__wrapped__`` "
740563"が常にラップされた関数を参照するようになりました。(:issue:`17482` を参照)"
741564
742- #: ../../library/functools.rst:770
565+ #: ../../library/functools.rst:592
743566msgid ""
744567"This is a convenience function for invoking :func:`update_wrapper` as a "
745568"function decorator when defining a wrapper function. It is equivalent to "
@@ -750,7 +573,7 @@ msgstr ""
750573"``partial(update_wrapper, wrapped=wrapped, assigned=assigned, "
751574"updated=updated)`` と等価です。例えば::"
752575
753- #: ../../library/functools.rst:796
576+ #: ../../library/functools.rst:618
754577msgid ""
755578"Without the use of this decorator factory, the name of the example function "
756579"would have been ``'wrapper'``, and the docstring of the original "
@@ -759,39 +582,39 @@ msgstr ""
759582"このデコレータ・ファクトリを使用しないと、上の例中の関数の名前は ``'wrapper'`` となり、元の :func:`example` "
760583"のドキュメンテーション文字列は失われてしまいます。"
761584
762- #: ../../library/functools.rst:804
585+ #: ../../library/functools.rst:626
763586msgid ":class:`partial` Objects"
764587msgstr ":class:`partial` オブジェクト"
765588
766- #: ../../library/functools.rst:806
589+ #: ../../library/functools.rst:628
767590msgid ""
768591":class:`partial` objects are callable objects created by :func:`partial`. "
769592"They have three read-only attributes:"
770593msgstr ""
771594":class:`partial` オブジェクトは、 :func:`partial` "
772595"関数によって作られる呼び出し可能オブジェクトです。オブジェクトには読み出し専用の属性が三つあります:"
773596
774- #: ../../library/functools.rst:812
597+ #: ../../library/functools.rst:634
775598msgid ""
776599"A callable object or function. Calls to the :class:`partial` object will be"
777600" forwarded to :attr:`func` with new arguments and keywords."
778601msgstr ""
779602"呼び出し可能オブジェクトまたは関数です。 :class:`partial` オブジェクトの呼び出しは新しい引数とキーワードと共に "
780603":attr:`func` に転送されます。"
781604
782- #: ../../library/functools.rst:818
605+ #: ../../library/functools.rst:640
783606msgid ""
784607"The leftmost positional arguments that will be prepended to the positional "
785608"arguments provided to a :class:`partial` object call."
786609msgstr "最左の位置引数で、 :class:`partial` オブジェクトの呼び出し時にその呼び出しの際の位置引数の前に追加されます。"
787610
788- #: ../../library/functools.rst:824
611+ #: ../../library/functools.rst:646
789612msgid ""
790613"The keyword arguments that will be supplied when the :class:`partial` object"
791614" is called."
792615msgstr ":class:`partial` オブジェクトの呼び出し時に渡されるキーワード引数です。"
793616
794- #: ../../library/functools.rst:827
617+ #: ../../library/functools.rst:649
795618msgid ""
796619":class:`partial` objects are like :class:`function` objects in that they are"
797620" callable, weak referencable, and can have attributes. There are some "
@@ -804,27 +627,3 @@ msgstr ""
804627"オブジェクトのように呼び出し可能で、弱参照可能で、属性を持つことができます。重要な相違点もあります。例えば、 "
805628":attr:`~definition.__name__` と :attr:`__doc__` 両属性は自動では作られません。また、クラス中で定義された "
806629":class:`partial` オブジェクトはスタティックメソッドのように振る舞い、インスタンスの属性問い合わせの中で束縛メソッドに変換されません。"
807-
808- #: ../../library/functools.rst:836
809- msgid "Exceptions"
810- msgstr "例外"
811-
812- #: ../../library/functools.rst:837
813- msgid "The :mod:`functools` module defines the following exception classes:"
814- msgstr ""
815-
816- #: ../../library/functools.rst:841
817- msgid ""
818- "Subclass of :exc:`ValueError` raised by :meth:`TopologicalSorter.prepare` if"
819- " cycles exist in the working graph. If multiple cycles exist, only one "
820- "undefined choice among them will be reported and included in the exception."
821- msgstr ""
822-
823- #: ../../library/functools.rst:845
824- msgid ""
825- "The detected cycle can be accessed via the second element in the "
826- ":attr:`~CycleError.args` attribute of the exception instance and consists in"
827- " a list of nodes, such that each node is, in the graph, an immediate "
828- "predecessor of the next node in the list. In the reported list, the first "
829- "and the last node will be the same, to make it clear that it is cyclic."
830- msgstr ""