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 Aug 1, 2023
1 parent 786d2f2 commit c2aaa5e
Show file tree
Hide file tree
Showing 315 changed files with 27,261 additions and 17,855 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 := 3be07c98b3e22601a5837ce25c04803ba63a1aa6
LANGUAGE := tr
BRANCH := 3.11

Expand Down
39 changes: 20 additions & 19 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-08-01 00:18+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,45 @@ 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 "
"the memory allocation is determined from the :c:member:`~PyTypeObject."
"tp_basicsize` field of the type object."
"Python type object *typeobj* (``PyTypeObject*``). Fields not defined by the "
"Python object header are not initialized; the object's 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:42
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:56
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:65
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:72
msgid ":c:func:`PyModule_Create`"
msgstr ""

#: c-api/allocation.rst:70
#: c-api/allocation.rst:73
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-08-01 00:18+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
10 changes: 5 additions & 5 deletions c-api/arg.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-08-01 00:18+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 @@ -699,7 +699,7 @@ msgstr ""
#: c-api/arg.rst:382
msgid ""
"It is possible to pass \"long\" integers (integers whose value exceeds the "
"platform's :const:`LONG_MAX`) however no proper range checking is done --- "
"platform's :c:macro:`LONG_MAX`) however no proper range checking is done --- "
"the most significant bits are silently truncated when the receiving field is "
"too small to receive the value (actually, the semantics are inherited from "
"downcasts in C --- your mileage may vary)."
Expand Down Expand Up @@ -844,7 +844,7 @@ msgstr ""
msgid ""
"A simpler form of parameter retrieval which does not use a format string to "
"specify the types of the arguments. Functions which use this method to "
"retrieve their parameters should be declared as :const:`METH_VARARGS` in "
"retrieve their parameters should be declared as :c:macro:`METH_VARARGS` in "
"function or method tables. The tuple containing the actual parameters "
"should be passed as *args*; it must actually be a tuple. The length of the "
"tuple must be at least *min* and no more than *max*; *min* and *max* may be "
Expand All @@ -861,7 +861,7 @@ msgstr ""
#: c-api/arg.rst:508
msgid ""
"This is an example of the use of this function, taken from the sources for "
"the :mod:`_weakref` helper module for weak references::"
"the :mod:`!_weakref` helper module for weak references::"
msgstr ""

#: c-api/arg.rst:524
Expand Down Expand Up @@ -978,7 +978,7 @@ msgstr ""

#: c-api/arg.rst:587
msgid ""
"Convert a null-terminated :c:expr:`wchar_t` buffer of Unicode (UTF-16 or "
"Convert a null-terminated :c:type:`wchar_t` buffer of Unicode (UTF-16 or "
"UCS-4) data to a Python Unicode object. If the Unicode buffer pointer is "
"``NULL``, ``None`` is returned."
msgstr ""
Expand Down
18 changes: 12 additions & 6 deletions c-api/bool.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-08-01 00:18+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: \n"
"Language-Team: TURKISH <[email protected]>\n"
Expand All @@ -30,35 +30,41 @@ msgstr ""

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

#: c-api/bool.rst:22
msgid ""
"Return true if *o* is of type :c:data:`PyBool_Type`. This function always "
"succeeds."
msgstr ""

#: c-api/bool.rst:22
#: c-api/bool.rst:28
msgid ""
"The Python ``False`` object. This object has no methods. It needs to be "
"treated just like any other object with respect to reference counts."
msgstr ""

#: c-api/bool.rst:28
#: c-api/bool.rst:34
msgid ""
"The Python ``True`` object. This object has no methods. It needs to be "
"treated just like any other object with respect to reference counts."
msgstr ""

#: c-api/bool.rst:34
#: c-api/bool.rst:40
msgid ""
"Return :const:`Py_False` from a function, properly incrementing its "
"reference count."
msgstr ""

#: c-api/bool.rst:40
#: c-api/bool.rst:46
msgid ""
"Return :const:`Py_True` from a function, properly incrementing its reference "
"count."
msgstr ""

#: c-api/bool.rst:46
#: c-api/bool.rst:52
msgid ""
"Return a new reference to :const:`Py_True` or :const:`Py_False` depending on "
"the truth value of *v*."
Expand Down
42 changes: 37 additions & 5 deletions c-api/buffer.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-08-01 00:18+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 @@ -68,7 +68,7 @@ msgstr ""
msgid ""
"An example consumer of the buffer interface is the :meth:`~io.BufferedIOBase."
"write` method of file objects: any object that can export a series of bytes "
"through the buffer interface can be written to a file. While :meth:`write` "
"through the buffer interface can be written to a file. While :meth:`!write` "
"only needs read-only access to the internal contents of the object passed to "
"it, other methods such as :meth:`~io.BufferedIOBase.readinto` need write "
"access to the contents of their argument. The buffer interface allows "
Expand Down Expand Up @@ -319,7 +319,7 @@ msgstr ""

#: c-api/buffer.rst:228
msgid ""
"All :c:data:`Py_buffer` fields are unambiguously defined by the request type."
"All :c:type:`Py_buffer` fields are unambiguously defined by the request type."
msgstr ""

#: c-api/buffer.rst:232
Expand Down Expand Up @@ -585,8 +585,8 @@ msgstr ""

#: c-api/buffer.rst:467
msgid ""
"Return the implied :c:data:`~Py_buffer.itemsize` from :c:data:`~Py_buffer."
"format`. On error, raise an exception and return -1."
"Return the implied :c:member:`~Py_buffer.itemsize` from :c:member:"
"`~Py_buffer.format`. On error, raise an exception and return -1."
msgstr ""

#: c-api/buffer.rst:475
Expand Down Expand Up @@ -665,3 +665,35 @@ msgid ""
"*exporter* MUST be set to the exporting object and *flags* must be passed "
"unmodified. Otherwise, *exporter* MUST be ``NULL``."
msgstr ""

#: c-api/buffer.rst:3
msgid "buffer protocol"
msgstr ""

#: c-api/buffer.rst:3
msgid "buffer interface"
msgstr ""

#: c-api/buffer.rst:3
msgid "(see buffer protocol)"
msgstr ""

#: c-api/buffer.rst:3
msgid "buffer object"
msgstr ""

#: c-api/buffer.rst:32
msgid "PyBufferProcs"
msgstr ""

#: c-api/buffer.rst:284
msgid "contiguous"
msgstr ""

#: c-api/buffer.rst:284
msgid "C-contiguous"
msgstr ""

#: c-api/buffer.rst:284
msgid "Fortran contiguous"
msgstr ""
10 changes: 9 additions & 1 deletion c-api/bytearray.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-08-01 00:18+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 @@ -97,3 +97,11 @@ msgstr ""
#: c-api/bytearray.rst:85
msgid "Similar to :c:func:`PyByteArray_Size`, but without error checking."
msgstr ""

#: c-api/bytearray.rst:8
msgid "object"
msgstr ""

#: c-api/bytearray.rst:8
msgid "bytearray"
msgstr ""
Loading

0 comments on commit c2aaa5e

Please sign in to comment.