Skip to content

Commit

Permalink
Get changes from CPython Doc for 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
python-docs-turkish committed Sep 18, 2023
1 parent b2e5e11 commit 9ca5f40
Show file tree
Hide file tree
Showing 327 changed files with 32,134 additions and 22,372 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# test build, we're building with the .rst files that generated our
# .po files.

CPYTHON_CURRENT_COMMIT := d01cf5072be5511595b6d0c35ace6c1b07716f8d
CPYTHON_CURRENT_COMMIT := 17a335dd0291d09e1510157a4ebe02932ec632dd
LANGUAGE := tr
BRANCH := 3.11

Expand Down
36 changes: 19 additions & 17 deletions c-api/allocation.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.11\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-12-17 01:28+0300\n"
"POT-Creation-Date: 2023-09-18 19:05+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: \n"
"Language-Team: TURKISH <[email protected]>\n"
Expand Down Expand Up @@ -38,44 +38,46 @@ msgstr ""
#: c-api/allocation.rst:32
msgid ""
"Allocate a new Python object using the C structure type *TYPE* and the "
"Python type object *type*. Fields not defined by the Python object header "
"are not initialized; the object's reference count will be one. The size of "
"Python type object *typeobj* (``PyTypeObject*``). Fields not defined by the "
"Python object header are not initialized. The caller will own the only "
"reference to the object (i.e. its reference count will be one). The size of "
"the memory allocation is determined from the :c:member:`~PyTypeObject."
"tp_basicsize` field of the type object."
msgstr ""

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

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

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

#: c-api/allocation.rst:69
#: c-api/allocation.rst:73
msgid ":c:func:`PyModule_Create`"
msgstr ""

#: c-api/allocation.rst:70
#: c-api/allocation.rst:74
msgid "To allocate and create extension modules."
msgstr ""
4 changes: 2 additions & 2 deletions c-api/apiabiversion.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.11\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-01 22:19+0000\n"
"POT-Creation-Date: 2023-09-18 19:05+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: \n"
"Language-Team: TURKISH <[email protected]>\n"
Expand Down Expand Up @@ -167,7 +167,7 @@ msgid "Use this for numeric comparisons, e.g. ``#if PY_VERSION_HEX >= ...``."
msgstr ""

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

#: c-api/apiabiversion.rst:67
Expand Down
Loading

0 comments on commit 9ca5f40

Please sign in to comment.