77msgstr ""
88"Project-Id-Version : Python 3.7\n "
99"Report-Msgid-Bugs-To : \n "
10- "POT-Creation-Date : 2020-06-20 18:08+0800 \n "
10+ "POT-Creation-Date : 2021-09-07 15:30+0000 \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,13 +347,12 @@ 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 "
351- "a 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 a "
351+ "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 "
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."
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."
357356msgstr ""
358357
359358#: ../../c-api/arg.rst:206
@@ -393,10 +392,10 @@ msgstr ""
393392#: ../../c-api/arg.rst:221
394393msgid ""
395394"It requires three arguments. The first is only used as input, and must be "
396- "a :c:type:`const char\\ *` which points to the name of an encoding as a NUL-"
395+ "a :c:type:`const char*` which points to the name of an encoding as a NUL-"
397396"terminated string, or ``NULL``, in which case ``'utf-8'`` encoding is used. "
398397"An exception is raised if the named encoding is not known to Python. The "
399- "second argument must be a :c:type:`char\\ * \\ *`; the value of the pointer it "
398+ "second argument must be a :c:type:`char* *`; the value of the pointer it "
400399"references will be set to a buffer with the contents of the argument text. "
401400"The text will be encoded in the encoding specified by the first argument. "
402401"The third argument must be a pointer to an integer; the referenced integer "
@@ -619,7 +618,7 @@ msgstr ""
619618msgid ""
620619"Store a Python object in a C object pointer. This is similar to ``O``, but "
621620"takes two C arguments: the first is the address of a Python type object, the "
622- "second is the address of the C variable (of type :c:type:`PyObject\\ *`) into "
621+ "second is the address of the C variable (of type :c:type:`PyObject*`) into "
623622"which the object pointer is stored. If the Python object does not have the "
624623"required type, :exc:`TypeError` is raised."
625624msgstr ""
@@ -632,14 +631,14 @@ msgstr ""
632631msgid ""
633632"Convert a Python object to a C variable through a *converter* function. "
634633"This takes two arguments: the first is a function, the second is the address "
635- "of a C variable (of arbitrary type), converted to :c:type:`void \\ *`. The "
634+ "of a C variable (of arbitrary type), converted to :c:type:`void *`. The "
636635"*converter* function in turn is called as follows::"
637636msgstr ""
638637
639638#: ../../c-api/arg.rst:339
640639msgid ""
641640"where *object* is the Python object to be converted and *address* is the :c:"
642- "type:`void\\ *` argument that was passed to the :c:func:`PyArg_Parse\\ *` "
641+ "type:`void*` argument that was passed to the :c:func:`PyArg_Parse\\ *` "
643642"function. The returned *status* should be ``1`` for a successful conversion "
644643"and ``0`` if the conversion has failed. When the conversion fails, the "
645644"*converter* function should raise an exception and leave the content of "
@@ -837,13 +836,12 @@ msgid ""
837836"should be passed as *args*; it must actually be a tuple. The length of the "
838837"tuple must be at least *min* and no more than *max*; *min* and *max* may be "
839838"equal. Additional arguments must be passed to the function, each of which "
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."
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."
847845msgstr ""
848846
849847#: ../../c-api/arg.rst:493
@@ -1107,7 +1105,7 @@ msgstr ""
11071105msgid ""
11081106"Convert *anything* to a Python object through a *converter* function. The "
11091107"function is called with *anything* (which should be compatible with :c:type:"
1110- "`void \\ *`) as its argument and should return a \" new\" Python object, or "
1108+ "`void*`) as its argument and should return a \" new\" Python object, or "
11111109"``NULL`` if an error occurred."
11121110msgstr ""
11131111
0 commit comments