7
7
msgstr ""
8
8
"Project-Id-Version : Python 3.7\n "
9
9
"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 "
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,12 +347,13 @@ 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 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 "
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 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."
356
357
msgstr ""
357
358
358
359
#: ../../c-api/arg.rst:206
@@ -392,10 +393,10 @@ msgstr ""
392
393
#: ../../c-api/arg.rst:221
393
394
msgid ""
394
395
"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-"
396
397
"terminated string, or ``NULL``, in which case ``'utf-8'`` encoding is used. "
397
398
"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 "
399
400
"references will be set to a buffer with the contents of the argument text. "
400
401
"The text will be encoded in the encoding specified by the first argument. "
401
402
"The third argument must be a pointer to an integer; the referenced integer "
@@ -618,7 +619,7 @@ msgstr ""
618
619
msgid ""
619
620
"Store a Python object in a C object pointer. This is similar to ``O``, but "
620
621
"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 "
622
623
"which the object pointer is stored. If the Python object does not have the "
623
624
"required type, :exc:`TypeError` is raised."
624
625
msgstr ""
@@ -631,14 +632,14 @@ msgstr ""
631
632
msgid ""
632
633
"Convert a Python object to a C variable through a *converter* function. "
633
634
"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 "
635
636
"*converter* function in turn is called as follows::"
636
637
msgstr ""
637
638
638
639
#: ../../c-api/arg.rst:339
639
640
msgid ""
640
641
"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\\ *` "
642
643
"function. The returned *status* should be ``1`` for a successful conversion "
643
644
"and ``0`` if the conversion has failed. When the conversion fails, the "
644
645
"*converter* function should raise an exception and leave the content of "
@@ -836,12 +837,13 @@ msgid ""
836
837
"should be passed as *args*; it must actually be a tuple. The length of the "
837
838
"tuple must be at least *min* and no more than *max*; *min* and *max* may be "
838
839
"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."
845
847
msgstr ""
846
848
847
849
#: ../../c-api/arg.rst:493
@@ -1105,7 +1107,7 @@ msgstr ""
1105
1107
msgid ""
1106
1108
"Convert *anything* to a Python object through a *converter* function. The "
1107
1109
"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 "
1109
1111
"``NULL`` if an error occurred."
1110
1112
msgstr ""
1111
1113
0 commit comments