|
1 | | -# Copyright (C) 2001-2024, Python Software Foundation |
| 1 | +# Copyright (C) 2001-2025, Python Software Foundation |
2 | 2 | # This file is distributed under the same license as the Python package. |
3 | 3 | # |
4 | 4 | # Translators: |
@@ -39,22 +39,24 @@ msgid "" |
39 | 39 | "The `Mersenne prime <https://en.wikipedia.org/wiki/Mersenne_prime>`_ ``P = " |
40 | 40 | "2**n -1``, used for numeric hash scheme." |
41 | 41 | msgstr "" |
| 42 | +"用於數值雜湊方案的\\ `梅森質數 (Mersenne prime) <https://en.wikipedia.org/" |
| 43 | +"wiki/Mersenne_prime>`_ ``P = 2**n -1``。" |
42 | 44 |
|
43 | 45 | #: ../../c-api/hash.rst:28 |
44 | 46 | msgid "The exponent ``n`` of ``P`` in :c:macro:`PyHASH_MODULUS`." |
45 | | -msgstr "" |
| 47 | +msgstr ":c:macro:`PyHASH_MODULUS` 中 ``P`` 的指數 ``n``。" |
46 | 48 |
|
47 | 49 | #: ../../c-api/hash.rst:34 |
48 | 50 | msgid "Prime multiplier used in string and various other hashes." |
49 | | -msgstr "" |
| 51 | +msgstr "用於字串和其他各種雜湊的質數乘數 (prime multiplier)。" |
50 | 52 |
|
51 | 53 | #: ../../c-api/hash.rst:40 |
52 | 54 | msgid "The hash value returned for a positive infinity." |
53 | | -msgstr "" |
| 55 | +msgstr "正無窮大回傳的雜湊值。" |
54 | 56 |
|
55 | 57 | #: ../../c-api/hash.rst:46 |
56 | 58 | msgid "The multiplier used for the imaginary part of a complex number." |
57 | | -msgstr "" |
| 59 | +msgstr "用於複數虛數部分的乘數。" |
58 | 60 |
|
59 | 61 | #: ../../c-api/hash.rst:52 |
60 | 62 | msgid "Hash function definition used by :c:func:`PyHash_GetFuncDef`." |
@@ -87,17 +89,21 @@ msgid "" |
87 | 89 | "Hash a pointer value: process the pointer value as an integer (cast it to " |
88 | 90 | "``uintptr_t`` internally). The pointer is not dereferenced." |
89 | 91 | msgstr "" |
| 92 | +"雜湊指標值:將指標值作為整數處理(在內部轉型為 ``uintptr_t``)。指標不會被取" |
| 93 | +"值 (dereference)。" |
90 | 94 |
|
91 | 95 | #: ../../c-api/hash.rst:88 |
92 | 96 | msgid "The function cannot fail: it cannot return ``-1``." |
93 | | -msgstr "" |
| 97 | +msgstr "此函式不會失敗:它不會回傳 ``-1``。" |
94 | 98 |
|
95 | 99 | #: ../../c-api/hash.rst:94 |
96 | 100 | msgid "" |
97 | 101 | "Generic hashing function that is meant to be put into a type object's " |
98 | 102 | "``tp_hash`` slot. Its result only depends on the object's identity." |
99 | 103 | msgstr "" |
| 104 | +"泛用雜湊函式,旨在放入型別物件的 ``tp_hash`` 插槽中。其結果僅取決於物件的識別" |
| 105 | +"性。" |
100 | 106 |
|
101 | 107 | #: ../../c-api/hash.rst:99 |
102 | 108 | msgid "In CPython, it is equivalent to :c:func:`Py_HashPointer`." |
103 | | -msgstr "" |
| 109 | +msgstr "在 CPython 中,它等價於 :c:func:`Py_HashPointer`。" |
0 commit comments