7
7
msgstr ""
8
8
"Project-Id-Version : Python 3.7\n "
9
9
"Report-Msgid-Bugs-To : \n "
10
- "POT-Creation-Date : 2020-06-20 18:08+0800 \n "
10
+ "POT-Creation-Date : 2021-09-07 06:52+0000 \n "
11
11
"PO-Revision-Date : 2018-05-23 14:29+0000\n "
12
12
"
Last-Translator :
Adrian Liaw <[email protected] >\n "
13
13
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -240,7 +240,7 @@ msgstr ""
240
240
msgid ""
241
241
"Requires that the Python object is a :class:`bytes` object, without "
242
242
"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*`."
244
244
msgstr ""
245
245
246
246
#: ../../c-api/arg.rst:139
@@ -252,7 +252,7 @@ msgid ""
252
252
"Requires that the Python object is a :class:`bytearray` object, without "
253
253
"attempting any conversion. Raises :exc:`TypeError` if the object is not a :"
254
254
"class:`bytearray` object. The C variable may also be declared as :c:type:"
255
- "`PyObject\\ *`."
255
+ "`PyObject*`."
256
256
msgstr ""
257
257
258
258
#: ../../c-api/arg.rst:156
@@ -319,7 +319,7 @@ msgstr ""
319
319
msgid ""
320
320
"Requires that the Python object is a Unicode object, without attempting any "
321
321
"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*`."
323
323
msgstr ""
324
324
325
325
#: ../../c-api/arg.rst:192
@@ -347,13 +347,12 @@ msgstr ""
347
347
#: ../../c-api/arg.rst:198
348
348
msgid ""
349
349
"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 "
352
352
"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."
357
356
msgstr ""
358
357
359
358
#: ../../c-api/arg.rst:206
@@ -393,10 +392,10 @@ msgstr ""
393
392
#: ../../c-api/arg.rst:221
394
393
msgid ""
395
394
"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-"
397
396
"terminated string, or ``NULL``, in which case ``'utf-8'`` encoding is used. "
398
397
"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 "
400
399
"references will be set to a buffer with the contents of the argument text. "
401
400
"The text will be encoded in the encoding specified by the first argument. "
402
401
"The third argument must be a pointer to an integer; the referenced integer "
@@ -619,7 +618,7 @@ msgstr ""
619
618
msgid ""
620
619
"Store a Python object in a C object pointer. This is similar to ``O``, but "
621
620
"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 "
623
622
"which the object pointer is stored. If the Python object does not have the "
624
623
"required type, :exc:`TypeError` is raised."
625
624
msgstr ""
@@ -632,14 +631,14 @@ msgstr ""
632
631
msgid ""
633
632
"Convert a Python object to a C variable through a *converter* function. "
634
633
"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 "
636
635
"*converter* function in turn is called as follows::"
637
636
msgstr ""
638
637
639
638
#: ../../c-api/arg.rst:339
640
639
msgid ""
641
640
"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\\ *` "
643
642
"function. The returned *status* should be ``1`` for a successful conversion "
644
643
"and ``0`` if the conversion has failed. When the conversion fails, the "
645
644
"*converter* function should raise an exception and leave the content of "
@@ -837,13 +836,12 @@ msgid ""
837
836
"should be passed as *args*; it must actually be a tuple. The length of the "
838
837
"tuple must be at least *min* and no more than *max*; *min* and *max* may be "
839
838
"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."
847
845
msgstr ""
848
846
849
847
#: ../../c-api/arg.rst:493
@@ -1107,7 +1105,7 @@ msgstr ""
1107
1105
msgid ""
1108
1106
"Convert *anything* to a Python object through a *converter* function. The "
1109
1107
"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 "
1111
1109
"``NULL`` if an error occurred."
1112
1110
msgstr ""
1113
1111
0 commit comments