77msgstr ""
88"Project-Id-Version : Python 3.7\n "
99"Report-Msgid-Bugs-To : \n "
10- "POT-Creation-Date : 2021-09-07 06:52+0000 \n "
10+ "POT-Creation-Date : 2020-06-20 18:08+0800 \n "
1111"PO-Revision-Date : 2018-05-23 14:29+0000\n "
1212"Last-Translator : Adrian Liaw <adrianliaw2000@gmail.com>\n "
1313"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -240,7 +240,7 @@ msgstr ""
240240msgid ""
241241"Requires that the Python object is a :class:`bytes` object, without "
242242"attempting any conversion. Raises :exc:`TypeError` if the object is not a "
243- "bytes object. The C variable may also be declared as :c:type:`PyObject*`."
243+ "bytes object. The C variable may also be declared as :c:type:`PyObject\\ *`."
244244msgstr ""
245245
246246#: ../../c-api/arg.rst:139
@@ -252,7 +252,7 @@ msgid ""
252252"Requires that the Python object is a :class:`bytearray` object, without "
253253"attempting any conversion. Raises :exc:`TypeError` if the object is not a :"
254254"class:`bytearray` object. The C variable may also be declared as :c:type:"
255- "`PyObject*`."
255+ "`PyObject\\ *`."
256256msgstr ""
257257
258258#: ../../c-api/arg.rst:156
@@ -319,7 +319,7 @@ msgstr ""
319319msgid ""
320320"Requires that the Python object is a Unicode object, without attempting any "
321321"conversion. Raises :exc:`TypeError` if the object is not a Unicode object. "
322- "The C variable may also be declared as :c:type:`PyObject*`."
322+ "The C variable may also be declared as :c:type:`PyObject\\ *`."
323323msgstr ""
324324
325325#: ../../c-api/arg.rst:192
@@ -347,12 +347,13 @@ msgstr ""
347347#: ../../c-api/arg.rst:198
348348msgid ""
349349"This format requires two arguments. The first is only used as input, and "
350- "must be a :c:type:`const char*` which points to the name of an encoding as a "
351- "NUL-terminated string, or ``NULL``, in which case ``'utf-8'`` encoding is "
350+ "must be a :c:type:`const char\\ *` which points to the name of an encoding as "
351+ "a NUL-terminated string, or ``NULL``, in which case ``'utf-8'`` encoding is "
352352"used. An exception is raised if the named encoding is not known to Python. "
353- "The second argument must be a :c:type:`char**`; the value of the pointer it "
354- "references will be set to a buffer with the contents of the argument text. "
355- "The text will be encoded in the encoding specified by the first argument."
353+ "The second argument must be a :c:type:`char\\ *\\ *`; the value of the pointer "
354+ "it references will be set to a buffer with the contents of the argument "
355+ "text. The text will be encoded in the encoding specified by the first "
356+ "argument."
356357msgstr ""
357358
358359#: ../../c-api/arg.rst:206
@@ -392,10 +393,10 @@ msgstr ""
392393#: ../../c-api/arg.rst:221
393394msgid ""
394395"It requires three arguments. The first is only used as input, and must be "
395- "a :c:type:`const char*` which points to the name of an encoding as a NUL-"
396+ "a :c:type:`const char\\ *` which points to the name of an encoding as a NUL-"
396397"terminated string, or ``NULL``, in which case ``'utf-8'`` encoding is used. "
397398"An exception is raised if the named encoding is not known to Python. The "
398- "second argument must be a :c:type:`char* *`; the value of the pointer it "
399+ "second argument must be a :c:type:`char\\ * \\ *`; the value of the pointer it "
399400"references will be set to a buffer with the contents of the argument text. "
400401"The text will be encoded in the encoding specified by the first argument. "
401402"The third argument must be a pointer to an integer; the referenced integer "
@@ -618,7 +619,7 @@ msgstr ""
618619msgid ""
619620"Store a Python object in a C object pointer. This is similar to ``O``, but "
620621"takes two C arguments: the first is the address of a Python type object, the "
621- "second is the address of the C variable (of type :c:type:`PyObject*`) into "
622+ "second is the address of the C variable (of type :c:type:`PyObject\\ *`) into "
622623"which the object pointer is stored. If the Python object does not have the "
623624"required type, :exc:`TypeError` is raised."
624625msgstr ""
@@ -631,14 +632,14 @@ msgstr ""
631632msgid ""
632633"Convert a Python object to a C variable through a *converter* function. "
633634"This takes two arguments: the first is a function, the second is the address "
634- "of a C variable (of arbitrary type), converted to :c:type:`void *`. The "
635+ "of a C variable (of arbitrary type), converted to :c:type:`void \\ *`. The "
635636"*converter* function in turn is called as follows::"
636637msgstr ""
637638
638639#: ../../c-api/arg.rst:339
639640msgid ""
640641"where *object* is the Python object to be converted and *address* is the :c:"
641- "type:`void*` argument that was passed to the :c:func:`PyArg_Parse\\ *` "
642+ "type:`void\\ *` argument that was passed to the :c:func:`PyArg_Parse\\ *` "
642643"function. The returned *status* should be ``1`` for a successful conversion "
643644"and ``0`` if the conversion has failed. When the conversion fails, the "
644645"*converter* function should raise an exception and leave the content of "
@@ -836,12 +837,13 @@ msgid ""
836837"should be passed as *args*; it must actually be a tuple. The length of the "
837838"tuple must be at least *min* and no more than *max*; *min* and *max* may be "
838839"equal. Additional arguments must be passed to the function, each of which "
839- "should be a pointer to a :c:type:`PyObject*` variable; these will be filled "
840- "in with the values from *args*; they will contain borrowed references. The "
841- "variables which correspond to optional parameters not given by *args* will "
842- "not be filled in; these should be initialized by the caller. This function "
843- "returns true on success and false if *args* is not a tuple or contains the "
844- "wrong number of elements; an exception will be set if there was a failure."
840+ "should be a pointer to a :c:type:`PyObject\\ *` variable; these will be "
841+ "filled in with the values from *args*; they will contain borrowed "
842+ "references. The variables which correspond to optional parameters not given "
843+ "by *args* will not be filled in; these should be initialized by the caller. "
844+ "This function returns true on success and false if *args* is not a tuple or "
845+ "contains the wrong number of elements; an exception will be set if there was "
846+ "a failure."
845847msgstr ""
846848
847849#: ../../c-api/arg.rst:493
@@ -1105,7 +1107,7 @@ msgstr ""
11051107msgid ""
11061108"Convert *anything* to a Python object through a *converter* function. The "
11071109"function is called with *anything* (which should be compatible with :c:type:"
1108- "`void*`) as its argument and should return a \" new\" Python object, or "
1110+ "`void \\ *`) as its argument and should return a \" new\" Python object, or "
11091111"``NULL`` if an error occurred."
11101112msgstr ""
11111113
0 commit comments