Skip to content

Commit c2aaa5e

Browse files
Get changes from CPython Doc for 3.11
1 parent 786d2f2 commit c2aaa5e

File tree

315 files changed

+27261
-17855
lines changed

Some content is hidden

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

315 files changed

+27261
-17855
lines changed

Makefile

+1-1
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 := 3be07c98b3e22601a5837ce25c04803ba63a1aa6
2525
LANGUAGE := tr
2626
BRANCH := 3.11
2727

c-api/allocation.po

+20-19
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-08-01 00:18+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,45 @@ 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 "
43-
"the memory allocation is determined from the :c:member:`~PyTypeObject."
44-
"tp_basicsize` field of the type object."
41+
"Python type object *typeobj* (``PyTypeObject*``). Fields not defined by the "
42+
"Python object header are not initialized; the object's reference count will "
43+
"be one. The size of the memory allocation is determined from the :c:member:"
44+
"`~PyTypeObject.tp_basicsize` field of the type object."
4545
msgstr ""
4646

47-
#: c-api/allocation.rst:41
47+
#: c-api/allocation.rst:42
4848
msgid ""
4949
"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."
50+
"Python type object *typeobj* (``PyTypeObject*``). Fields not defined by the "
51+
"Python object header are not initialized. The allocated memory allows for "
52+
"the *TYPE* structure plus *size* (``Py_ssize_t``) fields of the size given "
53+
"by the :c:member:`~PyTypeObject.tp_itemsize` field of *typeobj*. This is "
54+
"useful for implementing objects like tuples, which are able to determine "
55+
"their size at construction time. Embedding the array of fields into the "
56+
"same allocation decreases the number of allocations, improving the memory "
57+
"management efficiency."
5758
msgstr ""
5859

59-
#: c-api/allocation.rst:53
60+
#: c-api/allocation.rst:56
6061
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:"
62+
"Releases memory allocated to an object using :c:macro:`PyObject_New` or :c:"
63+
"macro:`PyObject_NewVar`. This is normally called from the :c:member:"
6364
"`~PyTypeObject.tp_dealloc` handler specified in the object's type. The "
6465
"fields of the object should not be accessed after this call as the memory is "
6566
"no longer a valid Python object."
6667
msgstr ""
6768

68-
#: c-api/allocation.rst:62
69+
#: c-api/allocation.rst:65
6970
msgid ""
7071
"Object which is visible in Python as ``None``. This should only be accessed "
7172
"using the :c:macro:`Py_None` macro, which evaluates to a pointer to this "
7273
"object."
7374
msgstr ""
7475

75-
#: c-api/allocation.rst:69
76+
#: c-api/allocation.rst:72
7677
msgid ":c:func:`PyModule_Create`"
7778
msgstr ""
7879

79-
#: c-api/allocation.rst:70
80+
#: c-api/allocation.rst:73
8081
msgid "To allocate and create extension modules."
8182
msgstr ""

c-api/apiabiversion.po

+2-2
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-08-01 00:18+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

c-api/arg.po

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

867867
#: c-api/arg.rst:524
@@ -978,7 +978,7 @@ msgstr ""
978978

979979
#: c-api/arg.rst:587
980980
msgid ""
981-
"Convert a null-terminated :c:expr:`wchar_t` buffer of Unicode (UTF-16 or "
981+
"Convert a null-terminated :c:type:`wchar_t` buffer of Unicode (UTF-16 or "
982982
"UCS-4) data to a Python Unicode object. If the Unicode buffer pointer is "
983983
"``NULL``, ``None`` is returned."
984984
msgstr ""

c-api/bool.po

+12-6
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-08-01 00:18+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"
@@ -30,35 +30,41 @@ msgstr ""
3030

3131
#: c-api/bool.rst:16
3232
msgid ""
33+
"This instance of :c:type:`PyTypeObject` represents the Python boolean type; "
34+
"it is the same object as :class:`bool` in the Python layer."
35+
msgstr ""
36+
37+
#: c-api/bool.rst:22
38+
msgid ""
3339
"Return true if *o* is of type :c:data:`PyBool_Type`. This function always "
3440
"succeeds."
3541
msgstr ""
3642

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

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

49-
#: c-api/bool.rst:34
55+
#: c-api/bool.rst:40
5056
msgid ""
5157
"Return :const:`Py_False` from a function, properly incrementing its "
5258
"reference count."
5359
msgstr ""
5460

55-
#: c-api/bool.rst:40
61+
#: c-api/bool.rst:46
5662
msgid ""
5763
"Return :const:`Py_True` from a function, properly incrementing its reference "
5864
"count."
5965
msgstr ""
6066

61-
#: c-api/bool.rst:46
67+
#: c-api/bool.rst:52
6268
msgid ""
6369
"Return a new reference to :const:`Py_True` or :const:`Py_False` depending on "
6470
"the truth value of *v*."

c-api/buffer.po

+37-5
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-08-01 00:18+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"
@@ -68,7 +68,7 @@ msgstr ""
6868
msgid ""
6969
"An example consumer of the buffer interface is the :meth:`~io.BufferedIOBase."
7070
"write` method of file objects: any object that can export a series of bytes "
71-
"through the buffer interface can be written to a file. While :meth:`write` "
71+
"through the buffer interface can be written to a file. While :meth:`!write` "
7272
"only needs read-only access to the internal contents of the object passed to "
7373
"it, other methods such as :meth:`~io.BufferedIOBase.readinto` need write "
7474
"access to the contents of their argument. The buffer interface allows "
@@ -319,7 +319,7 @@ msgstr ""
319319

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

325325
#: c-api/buffer.rst:232
@@ -585,8 +585,8 @@ msgstr ""
585585

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

592592
#: c-api/buffer.rst:475
@@ -665,3 +665,35 @@ msgid ""
665665
"*exporter* MUST be set to the exporting object and *flags* must be passed "
666666
"unmodified. Otherwise, *exporter* MUST be ``NULL``."
667667
msgstr ""
668+
669+
#: c-api/buffer.rst:3
670+
msgid "buffer protocol"
671+
msgstr ""
672+
673+
#: c-api/buffer.rst:3
674+
msgid "buffer interface"
675+
msgstr ""
676+
677+
#: c-api/buffer.rst:3
678+
msgid "(see buffer protocol)"
679+
msgstr ""
680+
681+
#: c-api/buffer.rst:3
682+
msgid "buffer object"
683+
msgstr ""
684+
685+
#: c-api/buffer.rst:32
686+
msgid "PyBufferProcs"
687+
msgstr ""
688+
689+
#: c-api/buffer.rst:284
690+
msgid "contiguous"
691+
msgstr ""
692+
693+
#: c-api/buffer.rst:284
694+
msgid "C-contiguous"
695+
msgstr ""
696+
697+
#: c-api/buffer.rst:284
698+
msgid "Fortran contiguous"
699+
msgstr ""

c-api/bytearray.po

+9-1
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-08-01 00:18+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"
@@ -97,3 +97,11 @@ msgstr ""
9797
#: c-api/bytearray.rst:85
9898
msgid "Similar to :c:func:`PyByteArray_Size`, but without error checking."
9999
msgstr ""
100+
101+
#: c-api/bytearray.rst:8
102+
msgid "object"
103+
msgstr ""
104+
105+
#: c-api/bytearray.rst:8
106+
msgid "bytearray"
107+
msgstr ""

0 commit comments

Comments
 (0)