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

Skip to content

Commit bd6f0c5

Browse files
Get changes from CPython Doc for 3.11
1 parent 786d2f2 commit bd6f0c5
  • distributing
  • distutils
  • extending
  • faq
  • howto
  • includes
  • install
  • library
  • 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.

    241 files changed

    +21344
    -12775
    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 := f5e29f424597a970d7cfde3402891259e0e4c1dd
    2525
    LANGUAGE := tr
    2626
    BRANCH := 3.11
    2727

    c-api/buffer.po

    Lines changed: 33 additions & 1 deletion
    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-07-01 00:21+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"
    @@ -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

    Lines changed: 9 additions & 1 deletion
    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-07-01 00:21+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 ""

    c-api/bytes.po

    Lines changed: 9 additions & 1 deletion
    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-07-01 00:21+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"
    @@ -324,3 +324,11 @@ msgid ""
    324324
    "*\\*bytes* is deallocated, *\\*bytes* is set to ``NULL``, :exc:`MemoryError` "
    325325
    "is set, and ``-1`` is returned."
    326326
    msgstr ""
    327+
    328+
    #: c-api/bytes.rst:11
    329+
    msgid "object"
    330+
    msgstr ""
    331+
    332+
    #: c-api/bytes.rst:11
    333+
    msgid "bytes"
    334+
    msgstr ""

    c-api/capsule.po

    Lines changed: 9 additions & 1 deletion
    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-07-01 00:21+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"
    @@ -199,3 +199,11 @@ msgid ""
    199199
    "Set the void pointer 10000 inside *capsule* to *pointer*. The pointer may not be "
    200200
    "``NULL``."
    201201
    msgstr ""
    202+
    203+
    #: c-api/capsule.rst:8
    204+
    msgid "object"
    205+
    msgstr ""
    206+
    207+
    #: c-api/capsule.rst:8
    208+
    msgid "Capsule"
    209+
    msgstr ""

    c-api/code.po

    Lines changed: 13 additions & 1 deletion
    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-04 22:37+0000\n"
    10+
    "POT-Creation-Date: 2023-07-01 00:21+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"
    @@ -138,3 +138,15 @@ msgid ""
    138138
    "reference to a :c:type:`PyTupleObject` containing the names of the free "
    139139
    "variables. On error, ``NULL`` is returned and an exception is raised."
    140140
    msgstr ""
    141+
    142+
    #: c-api/code.rst:3
    143+
    msgid "object"
    144+
    msgstr ""
    145+
    146+
    #: c-api/code.rst:3
    147+
    msgid "code"
    148+
    msgstr ""
    149+
    150+
    #: c-api/code.rst:3
    151+
    msgid "code object"
    152+
    msgstr ""

    c-api/complex.po

    Lines changed: 16 additions & 8 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-07-01 00:21+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"
    @@ -146,14 +146,22 @@ msgstr ""
    146146

    147147
    #: c-api/complex.rst:130
    148148
    msgid ""
    149-
    "If *op* is not a Python complex number object but has a :meth:`__complex__` "
    150-
    "method, this method will first be called to convert *op* to a Python complex "
    151-
    "number object. If ``__complex__()`` is not defined then it falls back to :"
    152-
    "meth:`__float__`. If ``__float__()`` is not defined then it falls back to :"
    153-
    "meth:`__index__`. Upon failure, this method returns ``-1.0`` as a real "
    154-
    "value."
    149+
    "If *op* is not a Python complex number object but has a :meth:`~object."
    150+
    "__complex__` method, this method will first be called to convert *op* to a "
    151+
    "Python complex number object. If :meth:`!__complex__` is not defined then "
    152+
    "it falls back to :meth:`~object.__float__`. If :meth:`!__float__` is not "
    153+
    "defined then it falls back to :meth:`~object.__index__`. Upon failure, this "
    154+
    "method returns ``-1.0`` as a real value."
    155155
    msgstr ""
    156156

    157157
    #: c-api/complex.rst:137
    158-
    msgid "Use :meth:`__index__` if available."
    158+
    msgid "Use :meth:`~object.__index__` if available."
    159+
    msgstr ""
    160+
    161+
    #: c-api/complex.rst:8
    162+
    msgid "object"
    163+
    msgstr ""
    164+
    165+
    #: c-api/complex.rst:8
    166+
    msgid "complex number"
    159167
    msgstr ""

    c-api/concrete.po

    Lines changed: 17 additions & 1 deletion
    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-07-01 00:21+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"
    @@ -74,3 +74,19 @@ msgstr ""
    7474
    #: c-api/concrete.rst:102
    7575
    msgid "Other Objects"
    7676
    msgstr ""
    77+
    78+
    #: c-api/concrete.rst:58 c-api/concrete.rst:80
    79+
    msgid "object"
    80+
    msgstr ""
    81+
    82+
    #: c-api/concrete.rst:43
    83+
    msgid "numeric"
    84+
    msgstr ""
    85+
    86+
    #: c-api/concrete.rst:58
    87+
    msgid "sequence"
    88+
    msgstr ""
    89+
    90+
    #: c-api/concrete.rst:80
    91+
    msgid "mapping"
    92+
    msgstr ""

    c-api/dict.po

    Lines changed: 44 additions & 23 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-03-01 00:18+0000\n"
    10+
    "POT-Creation-Date: 2023-07-01 00:21+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"
    @@ -106,40 +106,41 @@ msgid ""
    106106
    "``NULL`` if the key *key* is not present, but *without* setting an exception."
    107107
    msgstr ""
    108108

    109-
    #: c-api/dict.rst:101
    109+
    #: c-api/dict.rst:103
    110110
    msgid ""
    111-
    "Note that exceptions which occur while calling :meth:`__hash__` and :meth:"
    112-
    "`__eq__` methods will get suppressed. To get error reporting use :c:func:"
    113-
    "`PyDict_GetItemWithError()` instead."
    111+
    "Exceptions that occur while this calls :meth:`~object.__hash__` and :meth:"
    112+
    "`~object.__eq__` methods are silently ignored. Prefer the :c:func:"
    113+
    "`PyDict_GetItemWithError` function instead."
    114114
    msgstr ""
    115115

    116-
    #: c-api/dict.rst:105
    116+
    #: c-api/dict.rst:107
    117117
    msgid ""
    118118
    "Calling this API without :term:`GIL` held had been allowed for historical "
    119119
    "reason. It is no longer allowed."
    120120
    msgstr ""
    121121

    122-
    #: c-api/dict.rst:112
    122+
    #: c-api/dict.rst:114
    123123
    msgid ""
    124124
    "Variant of :c:func:`PyDict_GetItem` that does not suppress exceptions. "
    125125
    "Return ``NULL`` **with** an exception set if an exception occurred. Return "
    126126
    "``NULL`` **without** an exception set if the key wasn't present."
    127127
    msgstr ""
    128128

    129-
    #: c-api/dict.rst:120
    129+
    #: c-api/dict.rst:122
    130130
    msgid ""
    131131
    "This is the same as :c:func:`PyDict_GetItem`, but *key* is specified as a :c:"
    132132
    "expr:`const char*`, rather than a :c:expr:`PyObject*`."
    133133
    msgstr ""
    134134

    135-
    #: c-api/dict.rst:123
    135+
    #: c-api/dict.rst:127
    136136
    msgid ""
    137-
    "Note that exceptions which occur while calling :meth:`__hash__` and :meth:"
    138-
    "`__eq__` methods and creating a temporary string object will get suppressed. "
    139-
    "To get error reporting use :c:func:`PyDict_GetItemWithError()` instead."
    137+
    "Exceptions that occur while this calls :meth:`~object.__hash__` and :meth:"
    138+
    "`~object.__eq__` methods or while creating the temporary :class:`str` object "
    139+
    "are silently ignored. Prefer using the :c:func:`PyDict_GetItemWithError` "
    140+
    "function with your own :c:func:`PyUnicode_FromString` *key* instead."
    140141
    msgstr ""
    141142

    142-
    #: c-api/dict.rst:131
    143+
    #: c-api/dict.rst:136
    143144
    msgid ""
    144145
    "This is the same as the Python-level :meth:`dict.setdefault`. If present, "
    145146
    "it returns the value corresponding to *key* from the dictionary *p*. If the "
    @@ -149,29 +150,29 @@ msgid ""
    149150
    "the insertion."
    150151
    msgstr ""
    151152

    152-
    #: c-api/dict.rst:141
    153+
    #: c-api/dict.rst:146
    153154
    msgid ""
    154155
    "Return a :c:type:`PyListObject` containing all the items from the dictionary."
    155156
    msgstr ""
    156157

    157-
    #: c-api/dict.rst:146
    158+
    #: c-api/dict.rst:151
    158159
    msgid ""
    159160
    "Return a :c:type:`PyListObject` containing all the keys from the dictionary."
    160161
    msgstr ""
    161162

    162-
    #: c-api/dict.rst:151
    163+
    #: c-api/dict.rst:156
    163164
    msgid ""
    164165
    "Return a :c:type:`PyListObject` containing all the values from the "
    165166
    "dictionary *p*."
    166167
    msgstr ""
    167168

    168-
    #: c-api/dict.rst:159
    169+
    #: c-api/dict.rst:164
    169170
    msgid ""
    170171
    "Return the number of items in the dictionary. This is equivalent to "
    171172
    "``len(p)`` on a dictionary."
    172173
    msgstr ""
    173174

    174-
    #: c-api/dict.rst:165
    175+
    #: c-api/dict.rst:170
    175176
    msgid ""
    176177
    "Iterate over all key-value pairs in the dictionary *p*. The :c:type:"
    177178
    "`Py_ssize_t` referred to by *ppos* must be initialized to ``0`` prior to the "
    @@ -185,18 +186,18 @@ msgid ""
    185186
    "structure is sparse, the offsets are not consecutive."
    186187
    msgstr ""
    187188

    188-
    #: c-api/dict.rst:176
    189+
    #: c-api/dict.rst:181
    189190
    msgid "For example::"
    190191
    msgstr ""
    191192

    192-
    #: c-api/dict.rst:186
    193+
    #: c-api/dict.rst:191
    193194
    msgid ""
    194195
    "The dictionary *p* should not be mutated during iteration. It is safe to "
    195196
    "modify the values of the keys as you iterate over the dictionary, but only "
    196197
    "so long as the set of keys does not change. For example::"
    197198
    msgstr ""
    198199

    199-
    #: c-api/dict.rst:211
    200+
    #: c-api/dict.rst:216
    200201
    msgid ""
    201202
    "Iterate over mapping object *b* adding key-value pairs to dictionary *a*. "
    202203
    "*b* may be a dictionary, or any object supporting :c:func:`PyMapping_Keys` "
    @@ -206,7 +207,7 @@ msgid ""
    206207
    "or ``-1`` if an exception was raised."
    207208
    msgstr ""
    208209

    209-
    #: c-api/dict.rst:221
    210+
    #: c-api/dict.rst:226
    210211
    msgid ""
    211212
    "This is the same as ``PyDict_Merge(a, b, 1)`` in C, and is similar to ``a."
    212213
    "update(b)`` in Python except that :c:func:`PyDict_Update` doesn't fall back "
    @@ -215,11 +216,31 @@ msgid ""
    215216
    "exception was raised."
    216217
    msgstr ""
    217218

    218-
    #: c-api/dict.rst:230
    219+
    #: c-api/dict.rst:235
    219220
    msgid ""
    220221
    "Update or merge into dictionary *a*, from the key-value pairs in *seq2*. "
    221222
    "*seq2* must be an iterable object producing iterable objects of length 2, "
    222223
    "viewed as key-value pairs. In case of duplicate keys, the last wins if "
    223224
    "*override* is true, else the first wins. Return ``0`` on success or ``-1`` "
    224225
    "if an exception was raised. Equivalent Python (except for the return value)::"
    225226
    msgstr ""
    227+
    228+
    #: c-api/dict.rst:8
    229+
    msgid "object"
    230+
    msgstr ""
    231+
    232+
    #: c-api/dict.rst:8
    233+
    msgid "dictionary"
    234+
    msgstr ""
    235+
    236+
    #: c-api/dict.rst:73
    237+
    msgid "PyUnicode_FromString()"
    238+
    msgstr ""
    239+
    240+
    #: c-api/dict.rst:162
    241+
    msgid "built-in function"
    242+
    msgstr ""
    243+
    244+
    #: c-api/dict.rst:162
    245+
    msgid "len"
    246+
    msgstr ""

    0 commit comments

    Comments
     (0)
    0