Skip to content

Commit 34200ce

Browse files
Copilotmattwang44
andcommitted
Complete translation of c-api/hash.po
Co-authored-by: mattwang44 <24987826+mattwang44@users.noreply.github.com>
1 parent 09551dd commit 34200ce

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

c-api/hash.po

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,22 +39,24 @@ msgid ""
3939
"The `Mersenne prime <https://en.wikipedia.org/wiki/Mersenne_prime>`_ ``P = "
4040
"2**n -1``, used for numeric hash scheme."
4141
msgstr ""
42+
"用於數值雜湊方案的`梅森質數 <https://en.wikipedia.org/wiki/Mersenne_prime>`_ "
43+
"``P = 2**n -1``。"
4244

4345
#: ../../c-api/hash.rst:28
4446
msgid "The exponent ``n`` of ``P`` in :c:macro:`PyHASH_MODULUS`."
45-
msgstr ""
47+
msgstr ":c:macro:`PyHASH_MODULUS` 中 ``P`` 的指數 ``n``。"
4648

4749
#: ../../c-api/hash.rst:34
4850
msgid "Prime multiplier used in string and various other hashes."
49-
msgstr ""
51+
msgstr "用於字串和其他各種雜湊的質數乘數。"
5052

5153
#: ../../c-api/hash.rst:40
5254
msgid "The hash value returned for a positive infinity."
53-
msgstr ""
55+
msgstr "正無窮大回傳的雜湊值。"
5456

5557
#: ../../c-api/hash.rst:46
5658
msgid "The multiplier used for the imaginary part of a complex number."
57-
msgstr ""
59+
msgstr "用於複數虛數部分的乘數。"
5860

5961
#: ../../c-api/hash.rst:52
6062
msgid "Hash function definition used by :c:func:`PyHash_GetFuncDef`."
@@ -87,17 +89,21 @@ msgid ""
8789
"Hash a pointer value: process the pointer value as an integer (cast it to "
8890
"``uintptr_t`` internally). The pointer is not dereferenced."
8991
msgstr ""
92+
"雜湊指標值:將指標值作為整數處理(在內部轉型為 ``uintptr_t``)。指標不會被取"
93+
"值。"
9094

9195
#: ../../c-api/hash.rst:88
9296
msgid "The function cannot fail: it cannot return ``-1``."
93-
msgstr ""
97+
msgstr "此函式不會失敗:它不會回傳 ``-1``。"
9498

9599
#: ../../c-api/hash.rst:94
96100
msgid ""
97101
"Generic hashing function that is meant to be put into a type object's "
98102
"``tp_hash`` slot. Its result only depends on the object's identity."
99103
msgstr ""
104+
"通用雜湊函式,旨在放入型別物件的 ``tp_hash`` 插槽中。其結果僅取決於物件的識別"
105+
"性。"
100106

101107
#: ../../c-api/hash.rst:99
102108
msgid "In CPython, it is equivalent to :c:func:`Py_HashPointer`."
103-
msgstr ""
109+
msgstr "在 CPython 中,它等價於 :c:func:`Py_HashPointer`。"

0 commit comments

Comments
 (0)