[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/python/python-docs-ko/3.14/c-api/bytes.po [Back]  [Original]

# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-2017, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR , 2017.
#
msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-10-11 20:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Mir Jung \n"
"Language-Team: Korean (https://python.flowdas.com)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.18.0\n"

#: ../../c-api/bytes.rst:6
msgid "Bytes Objects"
msgstr " "

#: ../../c-api/bytes.rst:8
msgid ""
"These functions raise :exc:`TypeError` when expecting a bytes parameter "
"and called with a non-bytes parameter."
msgstr "            :exc:`TypeError`\\ ."

#: ../../c-api/bytes.rst:16
msgid "This subtype of :c:type:`PyObject` represents a Python bytes object."
msgstr " :c:type:`PyObject`\\      ."

#: ../../c-api/bytes.rst:21
msgid ""
"This instance of :c:type:`PyTypeObject` represents the Python bytes type;"
" it is the same object as :class:`bytes` in the Python layer."
msgstr ""
" :c:type:`PyTypeObject`\\     ;   "
":class:`bytes`\\  ."

#: ../../c-api/bytes.rst:27
msgid ""
"Return true if the object *o* is a bytes object or an instance of a "
"subtype of the bytes type.  This function always succeeds."
msgstr " *o*\\         .    ."

#: ../../c-api/bytes.rst:33
msgid ""
"Return true if the object *o* is a bytes object, but not an instance of a"
" subtype of the bytes type.  This function always succeeds."
msgstr " *o*\\  ,        .    ."

#: ../../c-api/bytes.rst:39
msgid ""
"Return a new bytes object with a copy of the string *v* as value on "
"success, and ``NULL`` on failure.  The parameter *v* must not be "
"``NULL``; it will not be checked."
msgstr ""
"  *v*       ,  ``NULL``\\ .   "
"*v*\\ ``NULL``\\  ;  ."

#: ../../c-api/bytes.rst:46
msgid ""
"Return a new bytes object with a copy of the string *v* as value and "
"length *len* on success, and ``NULL`` on failure.  If *v* is ``NULL``, "
"the contents of the bytes object are uninitialized."
msgstr ""
"  *v*    *len*\\    ,  ``NULL``\\ "
". *v*\\ ``NULL``\\,     ."

#: ../../c-api/bytes.rst:53
msgid ""
"Take a C :c:func:`printf`\\ -style *format* string and a variable number "
"of arguments, calculate the size of the resulting Python bytes object and"
" return a bytes object with the values formatted into it.  The variable "
"arguments must be C types and must correspond exactly to the format "
"characters in the *format* string.  The following format characters are "
"allowed:"
msgstr ""
"C :c:func:`printf`\\ - *format*     ,     "
"        .   C   *format*   "
"    .     :"

#: ../../c-api/bytes.rst:65
msgid "Format Characters"
msgstr " "

#: ../../c-api/bytes.rst:65
msgid "Type"
msgstr ""

#: ../../c-api/bytes.rst:65
msgid "Comment"
msgstr ""

#: ../../c-api/bytes.rst:67
#, python-format
msgid "``%%``"
msgstr "``%%``"

#: ../../c-api/bytes.rst:67
msgid "*n/a*"
msgstr "*n/a*"

#: ../../c-api/bytes.rst:67
#, python-format
msgid "The literal % character."
msgstr " % ."

#: ../../c-api/bytes.rst:69
#, python-format
msgid "``%c``"
msgstr "``%c``"

#: ../../c-api/bytes.rst:69 ../../c-api/bytes.rst:72 ../../c-api/bytes.rst:90
#: ../../c-api/bytes.rst:93
msgid "int"
msgstr "int"

#: ../../c-api/bytes.rst:69
msgid "A single byte, represented as a C int."
msgstr " , C int ."

#: ../../c-api/bytes.rst:72
#, python-format
msgid "``%d``"
msgstr "``%d``"

#: ../../c-api/bytes.rst:72
#, python-format
msgid "Equivalent to ``printf(\"%d\")``. [1]_"
msgstr "``printf(\"%d\")``\\ . [1]_"

#: ../../c-api/bytes.rst:75
#, python-format
msgid "``%u``"
msgstr "``%u``"

#: ../../c-api/bytes.rst:75
msgid "unsigned int"
msgstr "unsigned int"

#: ../../c-api/bytes.rst:75
#, python-format
msgid "Equivalent to ``printf(\"%u\")``. [1]_"
msgstr "``printf(\"%u\")``\\ . [1]_"

#: ../../c-api/bytes.rst:78
#, python-format
msgid "``%ld``"
msgstr "``%ld``"

#: ../../c-api/bytes.rst:78
msgid "long"
msgstr "long"

#: ../../c-api/bytes.rst:78
#, python-format
msgid "Equivalent to ``printf(\"%ld\")``. [1]_"
msgstr "``printf(\"%ld\")``\\ . [1]_"

#: ../../c-api/bytes.rst:81
#, python-format
msgid "``%lu``"
msgstr "``%lu``"

#: ../../c-api/bytes.rst:81
msgid "unsigned long"
msgstr "unsigned long"

#: ../../c-api/bytes.rst:81
#, python-format
msgid "Equivalent to ``printf(\"%lu\")``. [1]_"
msgstr "``printf(\"%lu\")``\\ . [1]_"

#: ../../c-api/bytes.rst:84
msgid "``%zd``"
msgstr "``%zd``"

#: ../../c-api/bytes.rst:84
msgid ":c:type:`\\ Py_ssize_t`"
msgstr ":c:type:`\\ Py_ssize_t`"

#: ../../c-api/bytes.rst:84
msgid "Equivalent to ``printf(\"%zd\")``. [1]_"
msgstr "``printf(\"%zd\")``\\ . [1]_"

#: ../../c-api/bytes.rst:87
msgid "``%zu``"
msgstr "``%zu``"

#: ../../c-api/bytes.rst:87
msgid "size_t"
msgstr "size_t"

#: ../../c-api/bytes.rst:87
msgid "Equivalent to ``printf(\"%zu\")``. [1]_"
msgstr "``printf(\"%zu\")``\\ . [1]_"

#: ../../c-api/bytes.rst:90
#, python-format
msgid "``%i``"
msgstr "``%i``"

#: ../../c-api/bytes.rst:90
#, python-format
msgid "Equivalent to ``printf(\"%i\")``. [1]_"
msgstr "``printf(\"%i\")``\\ . [1]_"

#: ../../c-api/bytes.rst:93
#, python-format
msgid "``%x``"
msgstr "``%x``"

#: ../../c-api/bytes.rst:93
#, python-format
msgid "Equivalent to ``printf(\"%x\")``. [1]_"
msgstr "``printf(\"%x\")``\\ . [1]_"

#: ../../c-api/bytes.rst:96
#, python-format
msgid "``%s``"
msgstr "``%s``"

#: ../../c-api/bytes.rst:96
msgid "const char\\*"
msgstr "const char\\*"

#: ../../c-api/bytes.rst:96
msgid "A null-terminated C character array."
msgstr "- C  ."

#: ../../c-api/bytes.rst:99
msgid "``%p``"
msgstr "``%p``"

#: ../../c-api/bytes.rst:99
msgid "const void\\*"
msgstr "const void\\*"

#: ../../c-api/bytes.rst:99
msgid ""
"The hex representation of a C pointer. Mostly equivalent to "
"``printf(\"%p\")`` except that it is guaranteed to start with the literal"
" ``0x`` regardless of what the platform's ``printf`` yields."
msgstr ""
"C  16 .  ``printf``\\      ``0x``\\  "
"    ``printf(\"%p\")``\\ ."

#: ../../c-api/bytes.rst:108
msgid ""
"An unrecognized format character causes all the rest of the format string"
" to be copied as-is to the result object, and any extra arguments "
"discarded."
msgstr "              ,   ."

#: ../../c-api/bytes.rst:111
msgid ""
"For integer specifiers (d, u, ld, lu, zd, zu, i, x): the 0-conversion "
"flag has effect even when a precision is given."
msgstr "  (d, u, ld, lu, zd, zu, i, x): 0-     ."

#: ../../c-api/bytes.rst:117
msgid ""
"Identical to :c:func:`PyBytes_FromFormat` except that it takes exactly "
"two arguments."
msgstr "       :c:func:`PyBytes_FromFormat`\\ ."

#: ../../c-api/bytes.rst:123
msgid ""
"Return the bytes representation of object *o* that implements the buffer "
"protocol."
msgstr "    *o*\\   ."

#: ../../c-api/bytes.rst:129
msgid "Return the length of the bytes in bytes object *o*."
msgstr "  *o*\\  ."

#: ../../c-api/bytes.rst:134
msgid "Similar to :c:func:`PyBytes_Size`, but without error checking."
msgstr ":c:func:`PyBytes_Size`\\ ,   ."

#: ../../c-api/bytes.rst:139
msgid ""
"Return a pointer to the contents of *o*.  The pointer refers to the "
"internal buffer of *o*, which consists of ``len(o) + 1`` bytes.  The last"
" byte in the buffer is always null, regardless of whether there are any "
"other null bytes.  The data must not be modified in any way, unless the "
"object was just created using ``PyBytes_FromStringAndSize(NULL, size)``. "
"It must not be deallocated.  If *o* is not a bytes object at all, "
":c:func:`PyBytes_AsString` returns ``NULL`` and raises :exc:`TypeError`."
msgstr ""
"*o*\\    .  ``len(o) + 1``   *o*\\   "
".     (null)     .  "
"``PyBytes_FromStringAndSize(NULL, size)``\\       "
"  .    . *o*\\   , "
":c:func:`PyBytes_AsString`\\ ``NULL``\\  :exc:`TypeError`\\ "
"."

#: ../../c-api/bytes.rst:151
msgid "Similar to :c:func:`PyBytes_AsString`, but without error checking."
msgstr ":c:func:`PyBytes_AsString`\\ ,   ."

#: ../../c-api/bytes.rst:156
msgid ""
"Return the null-terminated contents of the object *obj* through the "
"output variables *buffer* and *length*. Returns ``0`` on success."
msgstr ""
"  *buffer*\\ *length*\\  *obj*\\ -  .  ``0``\\ "
"."

#: ../../c-api/bytes.rst:160
msgid ""
"If *length* is ``NULL``, the bytes object may not contain embedded null "
"bytes; if it does, the function returns ``-1`` and a :exc:`ValueError` is"
" raised."
msgstr ""
"*length*\\ ``NULL``\\,        ;    "
"``-1``\\  :exc:`ValueError`\\ ."

#: ../../c-api/bytes.rst:164
msgid ""
"The buffer refers to an internal buffer of *obj*, which includes an "
"additional null byte at the end (not counted in *length*).  The data must"
" not be modified in any way, unless the object was just created using "
"``PyBytes_FromStringAndSize(NULL, size)``.  It must not be deallocated.  "
"If *obj* is not a bytes object at all, :c:func:`PyBytes_AsStringAndSize` "
"returns ``-1`` and raises :exc:`TypeError`."
msgstr ""
"buffer *obj*\\    ,      (*length*\\  "
").  ``PyBytes_FromStringAndSize(NULL, size)``\\     "
"    .    . *obj*\\    "
":c:func:`PyBytes_AsStringAndSize`\\ ``-1``\\  :exc:`TypeError`\\ "
"."

#: ../../c-api/bytes.rst:171
msgid ""
"Previously, :exc:`TypeError` was raised when embedded null bytes were "
"encountered in the bytes object."
msgstr ",       :exc:`TypeError`\\ ."

#: ../../c-api/bytes.rst:178
msgid ""
"Create a new bytes object in *\\*bytes* containing the contents of "
"*newpart* appended to *bytes*; the caller will own the new reference.  "
"The reference to the old value of *bytes* will be stolen.  If the new "
"object cannot be created, the old reference to *bytes* will still be "
"discarded and the value of *\\*bytes* will be set to ``NULL``; the "
"appropriate exception will be set."
msgstr ""
"*bytes*\\ *newpart*\\      *\\*bytes*\\ ;   "
" . *bytes*\\     .     , *bytes*\\   "
"   *\\*bytes*\\  ``NULL``\\ ;   ."

#: ../../c-api/bytes.rst:187
msgid ""
"Create a new bytes object in *\\*bytes* containing the contents of "
"*newpart* appended to *bytes*.  This version releases the :term:`strong "
"reference` to *newpart* (i.e. decrements its reference count)."
msgstr ""
"*bytes*\\ *newpart*\\      *\\*bytes*\\ .   "
"*newpart*\\ :term:`  `\\  (   "
")."

#: ../../c-api/bytes.rst:194
msgid "Similar to ``sep.join(iterable)`` in Python."
msgstr " ``sep.join(iterable)``\\ ."

#: ../../c-api/bytes.rst:196
msgid ""
"*sep* must be Python :class:`bytes` object. (Note that "
":c:func:`PyUnicode_Join` accepts ``NULL`` separator and treats it as a "
"space, whereas :c:func:`PyBytes_Join` doesn't accept ``NULL`` separator.)"
msgstr ""
"*sep*\\   :class:`bytes`  .(:c:func:`PyUnicode_Join`\\ "
"``NULL``      , :c:func:`PyBytes_Join`\\ ``NULL`` "
"   .)"

#: ../../c-api/bytes.rst:201
msgid ""
"*iterable* must be an iterable object yielding objects that implement the"
" :ref:`buffer protocol `."
msgstr ""
"*iterable*\\  :ref:`  `\\      "
" ."

#: ../../c-api/bytes.rst:204
msgid ""
"On success, return a new :class:`bytes` object. On error, set an "
"exception and return ``NULL``."
msgstr "   :class:`bytes`  .     ``NULL``\\ ."

#: ../../c-api/bytes.rst:212
msgid ""
"Resize a bytes object. *newsize* will be the new length of the bytes "
"object. You can think of it as creating a new bytes object and destroying"
" the old one, only more efficiently. Pass the address of an existing "
"bytes object as an lvalue (it may be written into), and the new size "
"desired.  On success, *\\*bytes* holds the resized bytes object and ``0``"
" is returned; the address in *\\*bytes* may differ from its input value."
"  If the reallocation fails, the original bytes object at *\\*bytes* is "
"deallocated, *\\*bytes* is set to ``NULL``, :exc:`MemoryError` is set, "
"and ``-1`` is returned."
msgstr ""
"   . *newsize*\\     .      "
"    .    .     lvalue(   "
") ,    . , *\\*bytes*\\       "
"``0``\\ ; *\\*bytes*\\     .  , "
"*\\*bytes*\\      , *\\*bytes*\\ ``NULL``\\ , "
":exc:`MemoryError`\\  ``-1``\\ ."

#: ../../c-api/bytes.rst:11
msgid "object"
msgstr ""

#: ../../c-api/bytes.rst:11
msgid "bytes"
msgstr ""


Web Proxy Viewer  |  New URL  |  Original Page