@@ -18,7 +18,7 @@ msgid ""
18
18
msgstr ""
19
19
"Project-Id-Version : Python 3.12\n "
20
20
"Report-Msgid-Bugs-To : \n "
21
- "POT-Creation-Date : 2023-11-05 17:24 +0000\n "
21
+ "POT-Creation-Date : 2023-11-10 14:13 +0000\n "
22
22
"PO-Revision-Date : 2021-06-28 00:47+0000\n "
23
23
"Last-Translator : Nozomu Kaneko <nozom.kaneko@gmail.com>, 2023\n "
24
24
"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -2507,57 +2507,68 @@ msgstr ""
2507
2507
"keyword:`if`、:keyword:`while`、:keyword:`for` があります。"
2508
2508
2509
2509
#: ../../glossary.rst:1134
2510
- msgid "strong reference "
2510
+ msgid "static type checker "
2511
2511
msgstr ""
2512
2512
2513
2513
#: ../../glossary.rst:1136
2514
2514
msgid ""
2515
+ "An external tool that reads Python code and analyzes it, looking for issues "
2516
+ "such as incorrect types. See also :term:`type hints <type hint>` and the :"
2517
+ "mod:`typing` module."
2518
+ msgstr ""
2519
+
2520
+ #: ../../glossary.rst:1139
2521
+ msgid "strong reference"
2522
+ msgstr ""
2523
+
2524
+ #: ../../glossary.rst:1141
2525
+ msgid ""
2515
2526
"In Python's C API, a strong reference is a reference to an object which is "
2516
2527
"owned by the code holding the reference. The strong reference is taken by "
2517
2528
"calling :c:func:`Py_INCREF` when the reference is created and released with :"
2518
2529
"c:func:`Py_DECREF` when the reference is deleted."
2519
2530
msgstr ""
2520
2531
2521
- #: ../../glossary.rst:1142
2532
+ #: ../../glossary.rst:1147
2522
2533
msgid ""
2523
2534
"The :c:func:`Py_NewRef` function can be used to create a strong reference to "
2524
2535
"an object. Usually, the :c:func:`Py_DECREF` function must be called on the "
2525
2536
"strong reference before exiting the scope of the strong reference, to avoid "
2526
2537
"leaking one reference."
2527
2538
msgstr ""
2528
2539
2529
- #: ../../glossary.rst:1147
2540
+ #: ../../glossary.rst:1152
2530
2541
msgid "See also :term:`borrowed reference`."
2531
2542
msgstr ""
2532
2543
2533
- #: ../../glossary.rst:1148
2544
+ #: ../../glossary.rst:1153
2534
2545
msgid "text encoding"
2535
2546
msgstr "text encoding"
2536
2547
2537
- #: ../../glossary.rst:1150
2548
+ #: ../../glossary.rst:1155
2538
2549
msgid ""
2539
2550
"A string in Python is a sequence of Unicode code points (in range "
2540
2551
"``U+0000``--``U+10FFFF``). To store or transfer a string, it needs to be "
2541
2552
"serialized as a sequence of bytes."
2542
2553
msgstr ""
2543
2554
2544
- #: ../../glossary.rst:1154
2555
+ #: ../../glossary.rst:1159
2545
2556
msgid ""
2546
2557
"Serializing a string into a sequence of bytes is known as \" encoding\" , and "
2547
2558
"recreating the string from the sequence of bytes is known as \" decoding\" ."
2548
2559
msgstr ""
2549
2560
2550
- #: ../../glossary.rst:1157
2561
+ #: ../../glossary.rst:1162
2551
2562
msgid ""
2552
2563
"There are a variety of different text serialization :ref:`codecs <standard-"
2553
2564
"encodings>`, which are collectively referred to as \" text encodings\" ."
2554
2565
msgstr ""
2555
2566
2556
- #: ../../glossary.rst:1160
2567
+ #: ../../glossary.rst:1165
2557
2568
msgid "text file"
2558
2569
msgstr "text file"
2559
2570
2560
- #: ../../glossary.rst:1162
2571
+ #: ../../glossary.rst:1167
2561
2572
msgid ""
2562
2573
"A :term:`file object` able to read and write :class:`str` objects. Often, a "
2563
2574
"text file actually accesses a byte-oriented datastream and handles the :term:"
@@ -2573,7 +2584,7 @@ msgstr ""
2573
2584
"StringIO` インスタンスなどをテキストモード (``'r'`` or ``'w'``) で開いたファ"
2574
2585
"イルです。"
2575
2586
2576
- #: ../../glossary.rst:1169
2587
+ #: ../../glossary.rst:1174
2577
2588
msgid ""
2578
2589
"See also :term:`binary file` for a file object able to read and write :term:"
2579
2590
"`bytes-like objects <bytes-like object>`."
@@ -2582,11 +2593,11 @@ msgstr ""
2582
2593
"オブジェクトについては、 :term:`バイナリファイル <binary file>` も参照してく"
2583
2594
"ださい。"
2584
2595
2585
- #: ../../glossary.rst:1171
2596
+ #: ../../glossary.rst:1176
2586
2597
msgid "triple-quoted string"
2587
2598
msgstr "triple-quoted string"
2588
2599
2589
- #: ../../glossary.rst:1173
2600
+ #: ../../glossary.rst:1178
2590
2601
msgid ""
2591
2602
"A string which is bound by three instances of either a quotation mark (\" ) "
2592
2603
"or an apostrophe ('). While they don't provide any functionality not "
@@ -2602,11 +2613,11 @@ msgstr ""
2602
2613
"しに書くことができますし、行継続文字(\\\\ )を使わなくても複数行にまたがること"
2603
2614
"ができるので、ドキュメンテーション文字列を書く時に特に便利です。"
2604
2615
2605
- #: ../../glossary.rst:1180
2616
+ #: ../../glossary.rst:1185
2606
2617
msgid "type"
2607
2618
msgstr "type"
2608
2619
2609
- #: ../../glossary.rst:1182
2620
+ #: ../../glossary.rst:1187
2610
2621
msgid ""
2611
2622
"The type of a Python object determines what kind of object it is; every "
2612
2623
"object has a type. An object's type is accessible as its :attr:`~instance."
@@ -2616,64 +2627,62 @@ msgstr ""
2616
2627
"ゆるオブジェクトは型を持っています。オブジェクトの型は :attr:`~instance."
2617
2628
"__class__` 属性でアクセスしたり、``type(obj)`` で取得したり出来ます。"
2618
2629
2619
- #: ../../glossary.rst:1186
2630
+ #: ../../glossary.rst:1191
2620
2631
msgid "type alias"
2621
2632
msgstr "type alias"
2622
2633
2623
- #: ../../glossary.rst:1188
2634
+ #: ../../glossary.rst:1193
2624
2635
msgid "A synonym for a type, created by assigning the type to an identifier."
2625
2636
msgstr "(型エイリアス) 型の別名で、型を識別子に代入して作成します。"
2626
2637
2627
- #: ../../glossary.rst:1190
2638
+ #: ../../glossary.rst:1195
2628
2639
msgid ""
2629
2640
"Type aliases are useful for simplifying :term:`type hints <type hint>`. For "
2630
2641
"example::"
2631
2642
msgstr ""
2632
2643
"型エイリアスは :term:`型ヒント <type hint>` を単純化するのに有用です。例え"
2633
2644
"ば::"
2634
2645
2635
- #: ../../glossary.rst:1197
2646
+ #: ../../glossary.rst:1202
2636
2647
msgid "could be made more readable like this::"
2637
2648
msgstr "これは次のようにより読みやすくできます::"
2638
2649
2639
- #: ../../glossary.rst:1204 ../../glossary.rst:1218
2650
+ #: ../../glossary.rst:1209 ../../glossary.rst:1223
2640
2651
msgid "See :mod:`typing` and :pep:`484`, which describe this functionality."
2641
2652
msgstr "機能の説明がある :mod:`typing` と :pep:`484` を参照してください。"
2642
2653
2643
- #: ../../glossary.rst:1205
2654
+ #: ../../glossary.rst:1210
2644
2655
msgid "type hint"
2645
2656
msgstr "type hint"
2646
2657
2647
- #: ../../glossary.rst:1207
2658
+ #: ../../glossary.rst:1212
2648
2659
msgid ""
2649
2660
"An :term:`annotation` that specifies the expected type for a variable, a "
2650
2661
"class attribute, or a function parameter or return value."
2651
2662
msgstr ""
2652
2663
"(型ヒント) 変数、クラス属性、関数のパラメータや返り値の期待される型を指定す"
2653
2664
"る :term:`annotation` です。"
2654
2665
2655
- #: ../../glossary.rst:1210
2666
+ #: ../../glossary.rst:1215
2656
2667
msgid ""
2657
2668
"Type hints are optional and are not enforced by Python but they are useful "
2658
- "to static type analysis tools, and aid IDEs with code completion and "
2659
- "refactoring."
2669
+ "to :term:` static type checkers <static type checker>`. They can also aid "
2670
+ "IDEs with code completion and refactoring."
2660
2671
msgstr ""
2661
- "型ヒントは必須ではなく Python では強制ではありませんが、静的型解析ツールに"
2662
- "とって有用であり、IDE のコード補完とリファクタリングの手助けになります。"
2663
2672
2664
- #: ../../glossary.rst:1214
2673
+ #: ../../glossary.rst:1219
2665
2674
msgid ""
2666
2675
"Type hints of global variables, class attributes, and functions, but not "
2667
2676
"local variables, can be accessed using :func:`typing.get_type_hints`."
2668
2677
msgstr ""
2669
2678
"グローバル変数、クラス属性、関数で、ローカル変数でないものの型ヒントは :func:"
2670
2679
"`typing.get_type_hints` で取得できます。"
2671
2680
2672
- #: ../../glossary.rst:1219
2681
+ #: ../../glossary.rst:1224
2673
2682
msgid "universal newlines"
2674
2683
msgstr "universal newlines"
2675
2684
2676
- #: ../../glossary.rst:1221
2685
+ #: ../../glossary.rst:1226
2677
2686
msgid ""
2678
2687
"A manner of interpreting text streams in which all of the following are "
2679
2688
"recognized as ending a line: the Unix end-of-line convention ``'\\ n'``, the "
@@ -2686,33 +2695,33 @@ msgstr ""
2686
2695
"``'\\ r'``。利用法について詳しくは、 :pep:`278` と :pep:`3116` 、さらに :func:"
2687
2696
"`bytes.splitlines` も参照してください。"
2688
2697
2689
- #: ../../glossary.rst:1226
2698
+ #: ../../glossary.rst:1231
2690
2699
msgid "variable annotation"
2691
2700
msgstr "variable annotation"
2692
2701
2693
- #: ../../glossary.rst:1228
2702
+ #: ../../glossary.rst:1233
2694
2703
msgid "An :term:`annotation` of a variable or a class attribute."
2695
2704
msgstr "(変数アノテーション) 変数あるいはクラス属性の :term:`annotation` 。"
2696
2705
2697
- #: ../../glossary.rst:1230
2706
+ #: ../../glossary.rst:1235
2698
2707
msgid ""
2699
2708
"When annotating a variable or a class attribute, assignment is optional::"
2700
2709
msgstr "変数あるいはクラス属性に注釈を付けたときは、代入部分は任意です::"
2701
2710
2702
- #: ../../glossary.rst:1235
2711
+ #: ../../glossary.rst:1240
2703
2712
msgid ""
2704
2713
"Variable annotations are usually used for :term:`type hints <type hint>`: "
2705
2714
"for example this variable is expected to take :class:`int` values::"
2706
2715
msgstr ""
2707
2716
"変数アノテーションは通常は :term:`型ヒント<type hint>` のために使われます: 例"
2708
2717
"えば、この変数は :class:`int` の値を取ることを期待されています::"
2709
2718
2710
- #: ../../glossary.rst:1241
2719
+ #: ../../glossary.rst:1246
2711
2720
msgid "Variable annotation syntax is explained in section :ref:`annassign`."
2712
2721
msgstr ""
2713
2722
"変数アノテーションの構文については :ref:`annassign` 節で解説しています。"
2714
2723
2715
- #: ../../glossary.rst:1243
2724
+ #: ../../glossary.rst:1248
2716
2725
msgid ""
2717
2726
"See :term:`function annotation`, :pep:`484` and :pep:`526`, which describe "
2718
2727
"this functionality. Also see :ref:`annotations-howto` for best practices on "
@@ -2722,11 +2731,11 @@ msgstr ""
2722
2731
"してください。また、アノテーションを利用するベストプラクティスとして :ref:"
2723
2732
"`annotations-howto` も参照してください。"
2724
2733
2725
- #: ../../glossary.rst:1247
2734
+ #: ../../glossary.rst:1252
2726
2735
msgid "virtual environment"
2727
2736
msgstr "virtual environment"
2728
2737
2729
- #: ../../glossary.rst:1249
2738
+ #: ../../glossary.rst:1254
2730
2739
msgid ""
2731
2740
"A cooperatively isolated runtime environment that allows Python users and "
2732
2741
"applications to install and upgrade Python distribution packages without "
@@ -2737,15 +2746,15 @@ msgstr ""
2737
2746
"ケーションは同じシステム上で動いている他の Python アプリケーションの挙動に干"
2738
2747
"渉することなく Python パッケージのインストールと更新を行うことができます。"
2739
2748
2740
- #: ../../glossary.rst:1254
2749
+ #: ../../glossary.rst:1259
2741
2750
msgid "See also :mod:`venv`."
2742
2751
msgstr ":mod:`venv` を参照してください。"
2743
2752
2744
- #: ../../glossary.rst:1255
2753
+ #: ../../glossary.rst:1260
2745
2754
msgid "virtual machine"
2746
2755
msgstr "virtual machine"
2747
2756
2748
- #: ../../glossary.rst:1257
2757
+ #: ../../glossary.rst:1262
2749
2758
msgid ""
2750
2759
"A computer defined entirely in software. Python's virtual machine executes "
2751
2760
"the :term:`bytecode` emitted by the bytecode compiler."
@@ -2754,11 +2763,11 @@ msgstr ""
2754
2763
"シンは、バイトコードコンパイラが出力した :term:`バイトコード <bytecode>` を実"
2755
2764
"行します。"
2756
2765
2757
- #: ../../glossary.rst:1259
2766
+ #: ../../glossary.rst:1264
2758
2767
msgid "Zen of Python"
2759
2768
msgstr "Zen of Python"
2760
2769
2761
- #: ../../glossary.rst:1261
2770
+ #: ../../glossary.rst:1266
2762
2771
msgid ""
2763
2772
"Listing of Python design principles and philosophies that are helpful in "
2764
2773
"understanding and using the language. The listing can be found by typing "
0 commit comments