Skip to content

Commit 0d56d04

Browse files
committed
3.8.6
1 parent 34c8cb3 commit 0d56d04

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+10890
-10009
lines changed

c-api/arg.po

Lines changed: 179 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.6\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2020-05-15 20:23+0900\n"
10+
"POT-Creation-Date: 2020-09-24 20:44+0900\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: Dong-gweon Oh <flowdas@gmail.com>\n"
1313
"Language-Team: Korean (https://python.flowdas.com)\n"
@@ -301,7 +301,7 @@ msgid ""
301301
"Requires that the Python object is a :class:`bytes` object, without "
302302
"attempting any conversion. Raises :exc:`TypeError` if the object is not "
303303
"a bytes object. The C variable may also be declared as "
304-
":c:type:`PyObject\\*`."
304+
":c:type:`PyObject*`."
305305
msgstr ""
306306

307307
#: /Users/flowdas/works/docs/python-docs-ko/src/Doc/c-api/arg.rst:139
@@ -313,7 +313,7 @@ msgid ""
313313
"Requires that the Python object is a :class:`bytearray` object, without "
314314
"attempting any conversion. Raises :exc:`TypeError` if the object is not "
315315
"a :class:`bytearray` object. The C variable may also be declared as "
316-
":c:type:`PyObject\\*`."
316+
":c:type:`PyObject*`."
317317
msgstr ""
318318

319319
#: /Users/flowdas/works/docs/python-docs-ko/src/Doc/c-api/arg.rst:156
@@ -395,7 +395,7 @@ msgstr "``U`` (:class:`str`) [PyObject \\*]"
395395
msgid ""
396396
"Requires that the Python object is a Unicode object, without attempting "
397397
"any conversion. Raises :exc:`TypeError` if the object is not a Unicode "
398-
"object. The C variable may also be declared as :c:type:`PyObject\\*`."
398+
"object. The C variable may also be declared as :c:type:`PyObject*`."
399399
msgstr ""
400400

401401
#: /Users/flowdas/works/docs/python-docs-ko/src/Doc/c-api/arg.rst:192
@@ -428,13 +428,13 @@ msgstr ""
428428
#: /Users/flowdas/works/docs/python-docs-ko/src/Doc/c-api/arg.rst:198
429429
msgid ""
430430
"This format requires two arguments. The first is only used as input, and"
431-
" must be a :c:type:`const char\\*` which points to the name of an "
432-
"encoding as a NUL-terminated string, or ``NULL``, in which case "
433-
"``'utf-8'`` encoding is used. An exception is raised if the named "
434-
"encoding is not known to Python. The second argument must be a "
435-
":c:type:`char\\*\\*`; the value of the pointer it references will be set "
436-
"to a buffer with the contents of the argument text. The text will be "
437-
"encoded in the encoding specified by the first argument."
431+
" must be a :c:type:`const char*` which points to the name of an encoding "
432+
"as a NUL-terminated string, or ``NULL``, in which case ``'utf-8'`` "
433+
"encoding is used. An exception is raised if the named encoding is not "
434+
"known to Python. The second argument must be a :c:type:`char**`; the "
435+
"value of the pointer it references will be set to a buffer with the "
436+
"contents of the argument text. The text will be encoded in the encoding "
437+
"specified by the first argument."
438438
msgstr ""
439439

440440
#: /Users/flowdas/works/docs/python-docs-ko/src/Doc/c-api/arg.rst:206
@@ -485,14 +485,14 @@ msgstr ""
485485
#: /Users/flowdas/works/docs/python-docs-ko/src/Doc/c-api/arg.rst:221
486486
msgid ""
487487
"It requires three arguments. The first is only used as input, and must "
488-
"be a :c:type:`const char\\*` which points to the name of an encoding as a"
489-
" NUL-terminated string, or ``NULL``, in which case ``'utf-8'`` encoding "
490-
"is used. An exception is raised if the named encoding is not known to "
491-
"Python. The second argument must be a :c:type:`char\\*\\*`; the value of"
492-
" the pointer it references will be set to a buffer with the contents of "
493-
"the argument text. The text will be encoded in the encoding specified by "
494-
"the first argument. The third argument must be a pointer to an integer; "
495-
"the referenced integer will be set to the number of bytes in the output "
488+
"be a :c:type:`const char*` which points to the name of an encoding as a "
489+
"NUL-terminated string, or ``NULL``, in which case ``'utf-8'`` encoding is"
490+
" used. An exception is raised if the named encoding is not known to "
491+
"Python. The second argument must be a :c:type:`char**`; the value of the"
492+
" pointer it references will be set to a buffer with the contents of the "
493+
"argument text. The text will be encoded in the encoding specified by the "
494+
"first argument. The third argument must be a pointer to an integer; the "
495+
"referenced integer will be set to the number of bytes in the output "
496496
"buffer."
497497
msgstr ""
498498

@@ -745,7 +745,7 @@ msgid ""
745745
"Store a Python object in a C object pointer. This is similar to ``O``, "
746746
"but takes two C arguments: the first is the address of a Python type "
747747
"object, the second is the address of the C variable (of type "
748-
":c:type:`PyObject\\*`) into which the object pointer is stored. If the "
748+
":c:type:`PyObject*`) into which the object pointer is stored. If the "
749749
"Python object does not have the required type, :exc:`TypeError` is "
750750
"raised."
751751
msgstr ""
@@ -760,17 +760,17 @@ msgid ""
760760
"Convert a Python object to a C variable through a *converter* function. "
761761
"This takes two arguments: the first is a function, the second is the "
762762
"address of a C variable (of arbitrary type), converted to :c:type:`void "
763-
"\\*`. The *converter* function in turn is called as follows::"
763+
"*`. The *converter* function in turn is called as follows::"
764764
msgstr ""
765765

766766
#: /Users/flowdas/works/docs/python-docs-ko/src/Doc/c-api/arg.rst:339
767767
msgid ""
768768
"where *object* is the Python object to be converted and *address* is the "
769-
":c:type:`void\\*` argument that was passed to the "
770-
":c:func:`PyArg_Parse\\*` function. The returned *status* should be ``1`` "
771-
"for a successful conversion and ``0`` if the conversion has failed. When"
772-
" the conversion fails, the *converter* function should raise an exception"
773-
" and leave the content of *address* unmodified."
769+
":c:type:`void*` argument that was passed to the :c:func:`PyArg_Parse\\*` "
770+
"function. The returned *status* should be ``1`` for a successful "
771+
"conversion and ``0`` if the conversion has failed. When the conversion "
772+
"fails, the *converter* function should raise an exception and leave the "
773+
"content of *address* unmodified."
774774
msgstr ""
775775

776776
#: /Users/flowdas/works/docs/python-docs-ko/src/Doc/c-api/arg.rst:345
@@ -1009,7 +1009,7 @@ msgid ""
10091009
" should be passed as *args*; it must actually be a tuple. The length of "
10101010
"the tuple must be at least *min* and no more than *max*; *min* and *max* "
10111011
"may be equal. Additional arguments must be passed to the function, each "
1012-
"of which should be a pointer to a :c:type:`PyObject\\*` variable; these "
1012+
"of which should be a pointer to a :c:type:`PyObject*` variable; these "
10131013
"will be filled in with the values from *args*; they will contain borrowed"
10141014
" references. The variables which correspond to optional parameters not "
10151015
"given by *args* will not be filled in; these should be initialized by the"
@@ -1321,7 +1321,7 @@ msgstr "``O``\\와 같지만, 객체의 참조 횟수를 증가시키지 않습
13211321
msgid ""
13221322
"Convert *anything* to a Python object through a *converter* function. "
13231323
"The function is called with *anything* (which should be compatible with "
1324-
":c:type:`void \\*`) as its argument and should return a \"new\" Python "
1324+
":c:type:`void*`) as its argument and should return a \"new\" Python "
13251325
"object, or ``NULL`` if an error occurred."
13261326
msgstr ""
13271327

@@ -1366,3 +1366,154 @@ msgid ""
13661366
"rather than a variable number of arguments."
13671367
msgstr "가변 개수의 인자가 아닌 va_list를 받아들인다는 점을 제외하면, :c:func:`Py_BuildValue`\\와 동일합니다."
13681368

1369+
#~ msgid ""
1370+
#~ "Requires that the Python object is "
1371+
#~ "a :class:`bytes` object, without attempting"
1372+
#~ " any conversion. Raises :exc:`TypeError` "
1373+
#~ "if the object is not a bytes "
1374+
#~ "object. The C variable may also "
1375+
#~ "be declared as :c:type:`PyObject\\*`."
1376+
#~ msgstr ""
1377+
1378+
#~ msgid ""
1379+
#~ "Requires that the Python object is "
1380+
#~ "a :class:`bytearray` object, without "
1381+
#~ "attempting any conversion. Raises "
1382+
#~ ":exc:`TypeError` if the object is not"
1383+
#~ " a :class:`bytearray` object. The C "
1384+
#~ "variable may also be declared as "
1385+
#~ ":c:type:`PyObject\\*`."
1386+
#~ msgstr ""
1387+
1388+
#~ msgid ""
1389+
#~ "Requires that the Python object is "
1390+
#~ "a Unicode object, without attempting any"
1391+
#~ " conversion. Raises :exc:`TypeError` if "
1392+
#~ "the object is not a Unicode "
1393+
#~ "object. The C variable may also "
1394+
#~ "be declared as :c:type:`PyObject\\*`."
1395+
#~ msgstr ""
1396+
1397+
#~ msgid ""
1398+
#~ "This format requires two arguments. The"
1399+
#~ " first is only used as input, "
1400+
#~ "and must be a :c:type:`const char\\*`"
1401+
#~ " which points to the name of an"
1402+
#~ " encoding as a NUL-terminated string,"
1403+
#~ " or ``NULL``, in which case "
1404+
#~ "``'utf-8'`` encoding is used. An "
1405+
#~ "exception is raised if the named "
1406+
#~ "encoding is not known to Python. "
1407+
#~ "The second argument must be a "
1408+
#~ ":c:type:`char\\*\\*`; the value of the "
1409+
#~ "pointer it references will be set "
1410+
#~ "to a buffer with the contents of"
1411+
#~ " the argument text. The text will "
1412+
#~ "be encoded in the encoding specified "
1413+
#~ "by the first argument."
1414+
#~ msgstr ""
1415+
1416+
#~ msgid ""
1417+
#~ "It requires three arguments. The first"
1418+
#~ " is only used as input, and "
1419+
#~ "must be a :c:type:`const char\\*` which"
1420+
#~ " points to the name of an "
1421+
#~ "encoding as a NUL-terminated string, "
1422+
#~ "or ``NULL``, in which case ``'utf-8'``"
1423+
#~ " encoding is used. An exception is"
1424+
#~ " raised if the named encoding is "
1425+
#~ "not known to Python. The second "
1426+
#~ "argument must be a :c:type:`char\\*\\*`; "
1427+
#~ "the value of the pointer it "
1428+
#~ "references will be set to a buffer"
1429+
#~ " with the contents of the argument"
1430+
#~ " text. The text will be encoded "
1431+
#~ "in the encoding specified by the "
1432+
#~ "first argument. The third argument must"
1433+
#~ " be a pointer to an integer; "
1434+
#~ "the referenced integer will be set "
1435+
#~ "to the number of bytes in the "
1436+
#~ "output buffer."
1437+
#~ msgstr ""
1438+
1439+
#~ msgid ""
1440+
#~ "Store a Python object in a C "
1441+
#~ "object pointer. This is similar to "
1442+
#~ "``O``, but takes two C arguments: "
1443+
#~ "the first is the address of a "
1444+
#~ "Python type object, the second is "
1445+
#~ "the address of the C variable (of"
1446+
#~ " type :c:type:`PyObject\\*`) into which the"
1447+
#~ " object pointer is stored. If the"
1448+
#~ " Python object does not have the "
1449+
#~ "required type, :exc:`TypeError` is raised."
1450+
#~ msgstr ""
1451+
1452+
#~ msgid ""
1453+
#~ "Convert a Python object to a C "
1454+
#~ "variable through a *converter* function. "
1455+
#~ "This takes two arguments: the first "
1456+
#~ "is a function, the second is the"
1457+
#~ " address of a C variable (of "
1458+
#~ "arbitrary type), converted to :c:type:`void"
1459+
#~ " \\*`. The *converter* function in "
1460+
#~ "turn is called as follows::"
1461+
#~ msgstr ""
1462+
1463+
#~ msgid ""
1464+
#~ "where *object* is the Python object "
1465+
#~ "to be converted and *address* is "
1466+
#~ "the :c:type:`void\\*` argument that was "
1467+
#~ "passed to the :c:func:`PyArg_Parse\\*` "
1468+
#~ "function. The returned *status* should "
1469+
#~ "be ``1`` for a successful conversion "
1470+
#~ "and ``0`` if the conversion has "
1471+
#~ "failed. When the conversion fails, the"
1472+
#~ " *converter* function should raise an "
1473+
#~ "exception and leave the content of "
1474+
#~ "*address* unmodified."
1475+
#~ msgstr ""
1476+
1477+
#~ msgid ""
1478+
#~ "A simpler form of parameter retrieval"
1479+
#~ " which does not use a format "
1480+
#~ "string to specify the types of the"
1481+
#~ " arguments. Functions which use this "
1482+
#~ "method to retrieve their parameters "
1483+
#~ "should be declared as :const:`METH_VARARGS`"
1484+
#~ " in function or method tables. The"
1485+
#~ " tuple containing the actual parameters "
1486+
#~ "should be passed as *args*; it "
1487+
#~ "must actually be a tuple. The "
1488+
#~ "length of the tuple must be at "
1489+
#~ "least *min* and no more than "
1490+
#~ "*max*; *min* and *max* may be "
1491+
#~ "equal. Additional arguments must be "
1492+
#~ "passed to the function, each of "
1493+
#~ "which should be a pointer to a "
1494+
#~ ":c:type:`PyObject\\*` variable; these will be"
1495+
#~ " filled in with the values from "
1496+
#~ "*args*; they will contain borrowed "
1497+
#~ "references. The variables which correspond"
1498+
#~ " to optional parameters not given by"
1499+
#~ " *args* will not be filled in; "
1500+
#~ "these should be initialized by the "
1501+
#~ "caller. This function returns true on"
1502+
#~ " success and false if *args* is "
1503+
#~ "not a tuple or contains the wrong"
1504+
#~ " number of elements; an exception "
1505+
#~ "will be set if there was a "
1506+
#~ "failure."
1507+
#~ msgstr ""
1508+
1509+
#~ msgid ""
1510+
#~ "Convert *anything* to a Python object"
1511+
#~ " through a *converter* function. The "
1512+
#~ "function is called with *anything* "
1513+
#~ "(which should be compatible with "
1514+
#~ ":c:type:`void \\*`) as its argument and"
1515+
#~ " should return a \"new\" Python "
1516+
#~ "object, or ``NULL`` if an error "
1517+
#~ "occurred."
1518+
#~ msgstr ""
1519+

0 commit comments

Comments
 (0)