Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4f7c3bf

Browse files
Get changes from CPython Doc for 3.11
1 parent692aa96 commit4f7c3bf

File tree

9 files changed

+644
-581
lines changed

9 files changed

+644
-581
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 :=e98fa7121dd80496c60f07bb51101b648fe27cda
24+
CPYTHON_CURRENT_COMMIT :=7cbcfbe2fffebfc57c9b50ae937bfbb896401fba
2525
LANGUAGE := tr
2626
BRANCH := 3.11
2727

‎c-api/code.po‎

Lines changed: 6 additions & 6 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-02-04 22:37+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"
@@ -103,36 +103,36 @@ msgstr ""
103103
msgid"Returns ``1`` if the function succeeds and 0 otherwise."
104104
msgstr""
105105

106-
#:c-api/code.rst:82
106+
#:c-api/code.rst:84
107107
msgid""
108108
"Equivalent to the Python code ``getattr(co, 'co_code')``. Returns a strong "
109109
"reference to a :c:type:`PyBytesObject` representing the bytecode in a code "
110110
"object. On error, ``NULL`` is returned and an exception is raised."
111111
msgstr""
112112

113-
#:c-api/code.rst:87
113+
#:c-api/code.rst:89
114114
msgid""
115115
"This ``PyBytesObject`` may be created on-demand by the interpreter and does "
116116
"not necessarily represent the bytecode actually executed by CPython. The "
117117
"primary use case for this function is debuggers and profilers."
118118
msgstr""
119119

120-
#:c-api/code.rst:95
120+
#:c-api/code.rst:97
121121
msgid""
122122
"Equivalent to the Python code ``getattr(co, 'co_varnames')``. Returns a new "
123123
"reference to a :c:type:`PyTupleObject` containing the names of the local "
124124
"variables. On error, ``NULL`` is returned and an exception is raised."
125125
msgstr""
126126

127-
#:c-api/code.rst:104
127+
#:c-api/code.rst:106
128128
msgid""
129129
"Equivalent to the Python code ``getattr(co, 'co_cellvars')``. Returns a new "
130130
"reference to a :c:type:`PyTupleObject` containing the names of the local "
131131
"variables that are referenced by nested functions. On error, ``NULL`` is "
132132
"returned and an exception is raised."
133133
msgstr""
134134

135-
#:c-api/code.rst:113
135+
#:c-api/code.rst:115
136136
msgid""
137137
"Equivalent to the Python code ``getattr(co, 'co_freevars')``. Returns a new "
138138
"reference to a :c:type:`PyTupleObject` containing the names of the free "

‎library/array.po‎

Lines changed: 41 additions & 45 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-02-04 22:37+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"
@@ -202,7 +202,7 @@ msgstr ""
202202
msgid""
203203
"The actual representation of values is determined by the machine "
204204
"architecture (strictly speaking, by the C implementation). The actual size "
205-
"can be accessed through the :attr:`itemsize` attribute."
205+
"can be accessed through the :attr:`array.itemsize` attribute."
206206
msgstr""
207207

208208
#:library/array.rst:65
@@ -232,13 +232,7 @@ msgid ""
232232
"initializer is passed to the :meth:`extend` method."
233233
msgstr""
234234

235-
#:library/array.rst:11
236-
msgid""
237-
"Raises an :ref:`auditing event <auditing>` ``array.__new__`` with arguments "
238-
"``typecode``, ``initializer``."
239-
msgstr""
240-
241-
#:library/array.rst:91
235+
#:library/array.rst:88
242236
msgid""
243237
"Array objects support the ordinary sequence operations of indexing, slicing, "
244238
"concatenation, and multiplication. When using slice assignment, the "
@@ -248,35 +242,37 @@ msgid ""
248242
"object>` are supported."
249243
msgstr""
250244

251-
#:library/array.rst:97
252-
msgid"The following data items and methods are also supported:"
245+
#:library/array.rst:17
246+
msgid""
247+
"Raises an :ref:`auditing event <auditing>` ``array.__new__`` with arguments "
248+
"``typecode``, ``initializer``."
253249
msgstr""
254250

255-
#:library/array.rst:101
251+
#:library/array.rst:99
256252
msgid"The typecode character used to create the array."
257253
msgstr""
258254

259-
#:library/array.rst:106
255+
#:library/array.rst:104
260256
msgid"The length in bytes of one array item in the internal representation."
261257
msgstr""
262258

263-
#:library/array.rst:111
259+
#:library/array.rst:109
264260
msgid"Append a new item with value *x* to the end of the array."
265261
msgstr""
266262

267-
#:library/array.rst:116
263+
#:library/array.rst:114
268264
msgid""
269265
"Return a tuple ``(address, length)`` giving the current memory address and "
270266
"the length in elements of the buffer used to hold array's contents. The "
271267
"size of the memory buffer in bytes can be computed as ``array.buffer_info()"
272268
"[1] * array.itemsize``. This is occasionally useful when working with low-"
273269
"level (and inherently unsafe) I/O interfaces that require memory addresses, "
274-
"such as certain :c:func:`ioctl` operations. The returned numbers are valid "
270+
"such as certain :c:func:`!ioctl` operations. The returned numbers are valid "
275271
"as long as the array exists and no length-changing operations are applied to "
276272
"it."
277273
msgstr""
278274

279-
#:library/array.rst:126
275+
#:library/array.rst:124
280276
msgid""
281277
"When using array objects from code written in C or C++ (the only way to "
282278
"effectively make use of this information), it makes more sense to use the "
@@ -285,119 +281,119 @@ msgid ""
285281
"interface is documented in :ref:`bufferobjects`."
286282
msgstr""
287283

288-
#:library/array.rst:135
284+
#:library/array.rst:133
289285
msgid""
290286
"\"Byteswap\" all items of the array. This is only supported for values "
291287
"which are 1, 2, 4, or 8 bytes in size; for other types of values, :exc:"
292288
"`RuntimeError` is raised. It is useful when reading data from a file "
293289
"written on a machine with a different byte order."
294290
msgstr""
295291

296-
#:library/array.rst:143
292+
#:library/array.rst:141
297293
msgid"Return the number of occurrences of *x* in the array."
298294
msgstr""
299295

300-
#:library/array.rst:148
296+
#:library/array.rst:146
301297
msgid""
302298
"Append items from *iterable* to the end of the array. If *iterable* is "
303299
"another array, it must have *exactly* the same type code; if not, :exc:"
304300
"`TypeError` will be raised. If *iterable* is not an array, it must be "
305301
"iterable and its elements must be the right type to be appended to the array."
306302
msgstr""
307303

308-
#:library/array.rst:156
304+
#:library/array.rst:154
309305
msgid""
310306
"Appends items from the string, interpreting the string as an array of "
311307
"machine values (as if it had been read from a file using the :meth:"
312308
"`fromfile` method)."
313309
msgstr""
314310

315-
#:library/array.rst:159
316-
msgid":meth:`fromstring` is renamed to :meth:`frombytes` for clarity."
311+
#:library/array.rst:157
312+
msgid":meth:`!fromstring` is renamed to :meth:`frombytes` for clarity."
317313
msgstr""
318314

319-
#:library/array.rst:165
315+
#:library/array.rst:163
320316
msgid""
321317
"Read *n* items (as machine values) from the :term:`file object` *f* and "
322318
"append them to the end of the array. If less than *n* items are available, :"
323319
"exc:`EOFError` is raised, but the items that were available are still "
324320
"inserted into the array."
325321
msgstr""
326322

327-
#:library/array.rst:173
323+
#:library/array.rst:171
328324
msgid""
329325
"Append items from the list. This is equivalent to ``for x in list: a."
330326
"append(x)`` except that if there is a type error, the array is unchanged."
331327
msgstr""
332328

333-
#:library/array.rst:179
329+
#:library/array.rst:177
334330
msgid""
335331
"Extends this array with data from the given unicode string. The array must "
336332
"be a type ``'u'`` array; otherwise a :exc:`ValueError` is raised. Use "
337333
"``array.frombytes(unicodestring.encode(enc))`` to append Unicode data to an "
338334
"array of some other type."
339335
msgstr""
340336

341-
#:library/array.rst:187
337+
#:library/array.rst:185
342338
msgid""
343339
"Return the smallest *i* such that *i* is the index of the first occurrence "
344340
"of *x* in the array. The optional arguments *start* and *stop* can be "
345341
"specified to search for *x* within a subsection of the array. Raise :exc:"
346342
"`ValueError` if *x* is not found."
347343
msgstr""
348344

349-
#:library/array.rst:192
345+
#:library/array.rst:190
350346
msgid"Added optional *start* and *stop* parameters."
351347
msgstr""
352348

353-
#:library/array.rst:197
349+
#:library/array.rst:196
354350
msgid""
355351
"Insert a new item with value *x* in the array before position *i*. Negative "
356352
"values are treated as being relative to the end of the array."
357353
msgstr""
358354

359-
#:library/array.rst:203
355+
#:library/array.rst:202
360356
msgid""
361357
"Removes the item with the index *i* from the array and returns it. The "
362358
"optional argument defaults to ``-1``, so that by default the last item is "
363359
"removed and returned."
364360
msgstr""
365361

366-
#:library/array.rst:210
362+
#:library/array.rst:209
367363
msgid"Remove the first occurrence of *x* from the array."
368364
msgstr""
369365

370-
#:library/array.rst:215
366+
#:library/array.rst:214
371367
msgid"Reverse the order of the items in the array."
372368
msgstr""
373369

374-
#:library/array.rst:220
370+
#:library/array.rst:219
375371
msgid""
376372
"Convert the array to an array of machine values and return the bytes "
377373
"representation (the same sequence of bytes that would be written to a file "
378374
"by the :meth:`tofile` method.)"
379375
msgstr""
380376

381-
#:library/array.rst:224
382-
msgid":meth:`tostring` is renamed to :meth:`tobytes` for clarity."
377+
#:library/array.rst:223
378+
msgid":meth:`!tostring` is renamed to :meth:`tobytes` for clarity."
383379
msgstr""
384380

385-
#:library/array.rst:230
381+
#:library/array.rst:229
386382
msgid"Write all items (as machine values) to the :term:`file object` *f*."
387383
msgstr""
388384

389-
#:library/array.rst:235
385+
#:library/array.rst:234
390386
msgid"Convert the array to an ordinary list with the same items."
391387
msgstr""
392388

393-
#:library/array.rst:240
389+
#:library/array.rst:239
394390
msgid""
395391
"Convert the array to a unicode string. The array must be a type ``'u'`` "
396392
"array; otherwise a :exc:`ValueError` is raised. Use ``array.tobytes()."
397393
"decode(enc)`` to obtain a unicode string from an array of some other type."
398394
msgstr""
399395

400-
#:library/array.rst:245
396+
#:library/array.rst:244
401397
msgid""
402398
"When an array object is printed or converted to a string, it is represented "
403399
"as ``array(typecode, initializer)``. The *initializer* is omitted if the "
@@ -408,28 +404,28 @@ msgid ""
408404
"``from array import array``. Examples::"
409405
msgstr""
410406

411-
#:library/array.rst:262
407+
#:library/array.rst:261
412408
msgid"Module :mod:`struct`"
413409
msgstr""
414410

415-
#:library/array.rst:262
411+
#:library/array.rst:261
416412
msgid"Packing and unpacking of heterogeneous binary data."
417413
msgstr""
418414

419-
#:library/array.rst:266
415+
#:library/array.rst:265
420416
msgid"Module :mod:`xdrlib`"
421417
msgstr""
422418

423-
#:library/array.rst:265
419+
#:library/array.rst:264
424420
msgid""
425421
"Packing and unpacking of External Data Representation (XDR) data as used in "
426422
"some remote procedure call systems."
427423
msgstr""
428424

429-
#:library/array.rst:268
425+
#:library/array.rst:267
430426
msgid"`NumPy <https://numpy.org/>`_"
431427
msgstr""
432428

433-
#:library/array.rst:269
429+
#:library/array.rst:268
434430
msgid"The NumPy package defines another array type."
435431
msgstr""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp