@@ -11,7 +11,7 @@ msgid ""
11
11
msgstr ""
12
12
"Project-Id-Version : Python 3.11\n "
13
13
"Report-Msgid-Bugs-To : \n "
14
- "POT-Creation-Date : 2024-01-19 16:40 +0000\n "
14
+ "POT-Creation-Date : 2024-01-26 16:43 +0000\n "
15
15
"PO-Revision-Date : 2023-05-24 02:12+0000\n "
16
16
"Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n "
17
17
"Language-Team : Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n "
@@ -185,15 +185,17 @@ msgstr "Moduł definiuje następujący typ:"
185
185
186
186
msgid ""
187
187
"A new array whose items are restricted by *typecode*, and initialized from "
188
- "the optional *initializer* value, which must be a list, a :term:`bytes-like "
189
- "object`, or iterable over elements of the appropriate type."
188
+ "the optional *initializer* value, which must be a :class:`bytes` or :class:"
189
+ "`bytearray` object, a Unicode string, or iterable over elements of the "
190
+ "appropriate type."
190
191
msgstr ""
191
192
192
193
msgid ""
193
- "If given a list or string, the initializer is passed to the new array's :"
194
- "meth:`fromlist`, :meth:`frombytes`, or :meth:`fromunicode` method (see "
195
- "below) to add initial items to the array. Otherwise, the iterable "
196
- "initializer is passed to the :meth:`extend` method."
194
+ "If given a :class:`bytes` or :class:`bytearray` object, the initializer is "
195
+ "passed to the new array's :meth:`frombytes` method; if given a Unicode "
196
+ "string, the initializer is passed to the :meth:`fromunicode` method; "
197
+ "otherwise, the initializer's iterator is passed to the :meth:`extend` method "
198
+ "to add initial items to the array."
197
199
msgstr ""
198
200
199
201
msgid ""
@@ -274,13 +276,10 @@ msgstr ""
274
276
"aby mogły być doklejone do tablicy."
275
277
276
278
msgid ""
277
- "Appends items from the string , interpreting the string as an array of "
278
- "machine values (as if it had been read from a file using the :meth :"
279
- "`fromfile` method)."
279
+ "Appends items from the :term:`bytes-like object` , interpreting its content "
280
+ "as an array of machine values (as if it had been read from a file using the :"
281
+ "meth: `fromfile` method)."
280
282
msgstr ""
281
- "Dokleja elementy z ciągu znaków, interpretując ciąg jako tablicę wartości "
282
- "maszynowych (tak jakby były one wszytane z pliku używając sposobu "
283
- "postępowania :meth:`fromfile`)."
284
283
285
284
msgid ":meth:`!fromstring` is renamed to :meth:`frombytes` for clarity."
286
285
msgstr ""
@@ -301,10 +300,10 @@ msgstr ""
301
300
"niezmieniona."
302
301
303
302
msgid ""
304
- "Extends this array with data from the given unicode string. The array must "
305
- "be a type ``'u'`` array ; otherwise a :exc:`ValueError` is raised. Use "
306
- "``array. frombytes(unicodestring.encode(enc))`` to append Unicode data to an "
307
- "array of some other type."
303
+ "Extends this array with data from the given Unicode string. The array must "
304
+ "have type code ``'u'``; otherwise a :exc:`ValueError` is raised. Use ``array. "
305
+ "frombytes(unicodestring.encode(enc))`` to append Unicode data to an array of "
306
+ "some other type."
308
307
msgstr ""
309
308
310
309
msgid ""
@@ -355,19 +354,20 @@ msgid "Convert the array to an ordinary list with the same items."
355
354
msgstr "Zamień tabelę na zwykłą listę o tych samych elementach."
356
355
357
356
msgid ""
358
- "Convert the array to a unicode string. The array must be a type ``'u'`` "
359
- "array; otherwise a :exc:`ValueError` is raised. Use ``array.tobytes()."
360
- "decode(enc)`` to obtain a unicode string from an array of some other type."
357
+ "Convert the array to a Unicode string. The array must have a type ``'u'``; "
358
+ "otherwise a :exc:`ValueError` is raised. Use ``array.tobytes().decode(enc)`` "
359
+ "to obtain a Unicode string from an array of some other type."
361
360
msgstr ""
362
361
363
362
msgid ""
364
- "When an array object is printed or converted to a string, it is represented "
365
- "as ``array(typecode, initializer)``. The *initializer* is omitted if the "
366
- "array is empty, otherwise it is a string if the *typecode* is ``'u'``, "
367
- "otherwise it is a list of numbers. The string is guaranteed to be able to "
363
+ "The string representation of array objects has the form ``array(typecode, "
364
+ "initializer)``. The *initializer* is omitted if the array is empty, "
365
+ "otherwise it is a Unicode string if the *typecode* is ``'u'``, otherwise it "
366
+ "is a list of numbers. The string representation is guaranteed to be able to "
368
367
"be converted back to an array with the same type and value using :func:"
369
368
"`eval`, so long as the :class:`~array.array` class has been imported using "
370
- "``from array import array``. Examples::"
369
+ "``from array import array``. Variables ``inf`` and ``nan`` must also be "
370
+ "defined if it contains corresponding floating point values. Examples::"
371
371
msgstr ""
372
372
373
373
msgid "Module :mod:`struct`"
0 commit comments