8000 Get changes from CPython Doc for 3.11 · python/python-docs-tr@9ca5f40 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9ca5f40

Browse files
Get changes from CPython Doc for 3.11
1 parent b2e5e11 commit 9ca5f40

File tree

327 files changed

+32134
-22372
lines changed
  • reference
  • tutorial
  • using
  • whatsnew
  • Some content is hidden

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

    327 files changed

    +32134
    -22372
    lines changed

    Makefile

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -21,7 +21,7 @@
    2121
    # test build, we're building with the .rst files that generated our
    2222
    # .po files.
    2323

    24-
    CPYTHON_CURRENT_COMMIT := d01cf5072be5511595b6d0c35ace6c1b07716f8d
    24+
    CPYTHON_CURRENT_COMMIT := 17a335dd0291d09e1510157a4ebe02932ec632dd
    2525
    LANGUAGE := tr
    2626
    BRANCH := 3.11
    2727

    c-api/allocation.po

    Lines changed: 19 additions & 17 deletions
    Original file line numberDiff line numberDiff line change
    @@ -7,7 +7,7 @@ msgid ""
    77
    msgstr ""
    88
    "Project-Id-Version: Python 3.11\n"
    99
    "Report-Msgid-Bugs-To: \n"
    10-
    "POT-Creation-Date: 2022-12-17 01:28+0300\n"
    10+
    "POT-Creation-Date: 2023-09-18 19:05+0000\n"
    1111
    "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1212
    "Last-Translator: \n"
    1313
    "Language-Team: TURKISH <python.docs.tr@gmail.com>\n"
    @@ -38,44 +38,46 @@ msgstr ""
    3838
    #: c-api/allocation.rst:32
    3939
    msgid ""
    4040
    "Allocate a new Python object using the C structure type *TYPE* and the "
    41-
    "Python type object *type*. Fields not defined by the Python object header "
    42-
    "are not initialized; the object's reference count will be one. The size of "
    41+
    "Python type object *typeobj* (``PyTypeObject*``). Fields not defined by the "
    42+
    "Python object header are not initialized. The caller will own the only "
    43+
    "reference to the object (i.e. its reference count will be one). The size of "
    4344
    "the memory allocation is determined from the :c:member:`~PyTypeObject."
    4445
    "tp_basicsize` field of the type object."
    4546
    msgstr ""
    4647

    47-
    #: c-api/allocation.rst:41
    48+
    #: c-api/allocation.rst:43
    4849
    msgid ""
    4950
    "Allocate a new Python object using the C structure type *TYPE* and the "
    50-
    "Python type object *type*. Fields not defined by the Python object header "
    51-
    "are not initialized. The allocated memory allows for the *TYPE* structure "
    52-
    "plus *size* fields of the size given by the :c:member:`~PyTypeObject."
    53-
    "tp_itemsize` field of *type*. This is useful for implementing objects like "
    54-
    "tuples, which are able to determine their size at construction time. "
    55-
    "Embedding the array of fields into the same allocation decreases the number "
    56-
    "of allocations, improving the memory management efficiency."
    51+
    "Python type object *typeobj* (``PyTypeObject*``). Fields not defined by the "
    52+
    "Python object header are not initialized. The allocated memory allows for "
    53+
    "the *TYPE* structure plus *size* (``Py_ssize_t``) fields of the size given "
    54+
    "by the :c:member:`~PyTypeObject.tp_itemsize` field of *typeobj*. This is "
    55+
    "useful for implementing objects like tuples, which are able to determine "
    56+
    "their size at construction time. Embedding the array of fields into the "
    57+
    "same allocation decreases the number of allocations, improving the memory "
    58+
    "management efficiency."
    5759
    msgstr ""
    5860

    59-
    #: c-api/allocation.rst:53
    61+
    #: c-api/allocation.rst:57
    6062
    msgid ""
    61-
    "Releases memory allocated to an object using :c:func:`PyObject_New` or :c:"
    62-
    "func:`PyObject_NewVar`. This is normally called from the :c:member:"
    63+
    "Releases memory allocated to an object using :c:macro:`PyObject_New` or :c:"
    64+
    "macro:`PyObject_NewVar`. This is normally called from the :c:member:"
    6365
    "`~PyTypeObject.tp_dealloc` handler specified in the object's type. The "
    6466
    "fields of the object should not be accessed after this call as the memory is "
    6567
    "no longer a valid Python object."
    6668
    msgstr ""
    6769

    68-
    #: c-api/allocation.rst:62
    70+
    #: c-api/allocation.rst:66
    6971
    msgid ""
    7072
    "Object which is visible in Python as ``None``. This should only be accessed "
    7173
    "using the :c:macro:`Py_None` macro, which evaluates to a pointer to this "
    7274
    "object."
    7375
    msgstr ""
    7476

    75-
    #: c-api/allocation.rst:69
    77+
    #: c-api/allocation.rst:73
    7678
    msgid ":c:func:`PyModule_Create`"
    7779
    msgstr ""
    7880

    79-
    #: c-api/allocation.rst:70
    81+
    #: c-api/allocation.rst:74
    8082
    msgid "To allocate and create extension modules."
    8183
    msgstr ""

    c-api/apiabiversion.po

    Lines changed: 2 additions & 2 deletions
    Original file line numberDiff line numberDiff line change
    @@ -7,7 +7,7 @@ msgid ""
    77
    msgstr ""
    88
    "Project-Id-Version: Python 3.11\n"
    99
    "Report-Msgid-Bugs-To: \n"
    10-
    "POT-Creation-Date: 2023-02-01 22:19+0000\n"
    10+
    "POT-Creation-Date: 2023-09-18 19:05+0000\n"
    1111
    "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1212
    "Last-Translator: \n"
    1313
    "Language-Team: TURKISH <python.docs.tr@gmail.com>\n"
    @@ -167,7 +167,7 @@ msgid "Use this for numeric comparisons, e.g. ``#if PY_VERSION_HEX >= ...``."
    167167
    msgstr ""
    168168

    169169
    #: c-api/apiabiversion.rst:63
    170-
    msgid "This version is also available via the symbol :data:`Py_Version`."
    170+
    msgid "This version is also available via the symbol :c:var:`Py_Version`."
    171171
    msgstr ""
    172172

    173173
    #: c-api/apiabiversion.rst:67

    0 commit comments

    Comments
     (0)
    0