Skip to content

Commit 1005561

Browse files
committed
Update translation from Transifex
1 parent 5b39f0e commit 1005561

2 files changed

Lines changed: 54 additions & 72 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Polskie tłumaczenie dokumentacji Pythona
22
========================================
33
![build](https://github.com/python/python-docs-pl/workflows/.github/workflows/update-and-build.yml/badge.svg)
4-
![36.41% przełącznika języków](https://img.shields.io/badge/przełącznik_języków-36.41%25-0.svg)
4+
![36.10% przełącznika języków](https://img.shields.io/badge/przełącznik_języków-36.10%25-0.svg)
55
![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/dynamic/json.svg?label=całość&query=$.pl&url=http://gce.zhsj.me/python/newest)
66
![9 tłumaczy](https://img.shields.io/badge/tłumaczy-9-0.svg)
77

library/functions.po

Lines changed: 53 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.10\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2021-06-29 12:56+0000\n"
15+
"POT-Creation-Date: 2021-07-20 13:02+0000\n"
1616
"PO-Revision-Date: 2021-06-28 01:06+0000\n"
1717
"Last-Translator: m_aciek <maciej.olko@gmail.com>, 2021\n"
1818
"Language-Team: Polish (https://www.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -362,13 +362,9 @@ msgstr ""
362362
msgid ""
363363
"As :func:`repr`, return a string containing a printable representation of an "
364364
"object, but escape the non-ASCII characters in the string returned by :func:"
365-
"`repr` using ``\\x``, ``\\u`` or ``\\U`` escapes. This generates a string "
365+
"`repr` using ``\\x``, ``\\u``, or ``\\U`` escapes. This generates a string "
366366
"similar to that returned by :func:`repr` in Python 2."
367367
msgstr ""
368-
"Tak jak :func:`repr`, zwraca ciąg znaków zawierający reprezentację obiektu, "
369-
"ale wypisuje znaki nie-ASCII w ciągu zwracanym przez :func:`repr` przy "
370-
"użyciu escape'ów ``\\x``, ``\\u`` lub ``\\U``. Generuje ciąg znaków podobny "
371-
"do tego zwracanego przez :func:`repr` w Pythonie 2."
372368

373369
msgid ""
374370
"Convert an integer number to a binary string prefixed with \"0b\". The "
@@ -382,28 +378,21 @@ msgstr ""
382378
"zwraca liczbę całkowitą. Kilka przykładów:"
383379

384380
msgid ""
385-
"If prefix \"0b\" is desired or not, you can use either of the following ways."
381+
"If the prefix \"0b\" is desired or not, you can use either of the following "
382+
"ways."
386383
msgstr ""
387-
"Jeśli prefiks „0b” może nie być pożądany, możesz użyć dowolnego z poniższych "
388-
"sposobów."
389384

390385
msgid "See also :func:`format` for more information."
391386
msgstr "Zobacz też :func:`format` po więcej informacji."
392387

393388
msgid ""
394389
"Return a Boolean value, i.e. one of ``True`` or ``False``. *x* is converted "
395390
"using the standard :ref:`truth testing procedure <truth>`. If *x* is false "
396-
"or omitted, this returns ``False``; otherwise it returns ``True``. The :"
391+
"or omitted, this returns ``False``; otherwise, it returns ``True``. The :"
397392
"class:`bool` class is a subclass of :class:`int` (see :ref:`typesnumeric`). "
398393
"It cannot be subclassed further. Its only instances are ``False`` and "
399394
"``True`` (see :ref:`bltin-boolean-values`)."
400395
msgstr ""
401-
"Zwraca wartość boolowską, ``True`` lub ``False``. *x* jest konwertowane przy "
402-
"użyciu standardowej :ref:`procedury sprawdzania prawdy <truth>`. Jeśli *x* "
403-
"jest fałszywe lub pominięte, funkcja zwraca ``False``; w przeciwnym wypadku "
404-
"funkcja zwraca ``True``. Klasa :class:`bool` jest podklasą :class:`int` "
405-
"(patrz :ref:`typesnumeric`). Nie da się tworzyć jej podklas. Jej jedynymi "
406-
"instancjami są ``False`` i ``True`` (patrz :ref:`bltin-boolean-values`)."
407396

408397
msgid "*x* is now a positional-only parameter."
409398
msgstr "*x* jest teraz parametrem positional-only."
@@ -481,15 +470,11 @@ msgid "See also :ref:`binaryseq` and :ref:`typebytearray`."
481470
msgstr "Zobacz też :ref:`binaryseq` i :ref:`typebytearray`."
482471

483472
msgid ""
484-
"Return a new \"bytes\" object, which is an immutable sequence of integers in "
473+
"Return a new \"bytes\" object which is an immutable sequence of integers in "
485474
"the range ``0 <= x < 256``. :class:`bytes` is an immutable version of :"
486475
"class:`bytearray` -- it has the same non-mutating methods and the same "
487476
"indexing and slicing behavior."
488477
msgstr ""
489-
"Zwraca nowy obiekt „bytes”, który jest niemutowalną sekwencją liczb "
490-
"całkowitych w zakresie ``0 <= x < 256``. :class:`bytes` jest niemutowalną "
491-
"wersją :class:`bytearray` – ma te same nie-mutujące metody i to samo "
492-
"zachowanie przy odwołaniu do indeksów i slicingu."
493478

494479
msgid ""
495480
"Accordingly, constructor arguments are interpreted as for :func:`bytearray`."
@@ -545,13 +530,10 @@ msgid "Transform a method into a class method."
545530
msgstr "Przekształć metodę w metodę klasową."
546531

547532
msgid ""
548-
"A class method receives the class as implicit first argument, just like an "
549-
"instance method receives the instance. To declare a class method, use this "
550-
"idiom::"
533+
"A class method receives the class as an implicit first argument, just like "
534+
"an instance method receives the instance. To declare a class method, use "
535+
"this idiom::"
551536
msgstr ""
552-
"Metoda klasowa dostaje klasę implicité jako pierwszy argument, tak jak "
553-
"metoda instancji dostaje instancję. Aby zadeklarować metodę klasową, użyj "
554-
"idiomu::"
555537

556538
msgid ""
557539
"The ``@classmethod`` form is a function :term:`decorator` -- see :ref:"
@@ -692,8 +674,8 @@ msgid ""
692674
msgstr ""
693675

694676
msgid ""
695-
"Allowed use of Windows and Mac newlines. Also input in ``'exec'`` mode does "
696-
"not have to end in a newline anymore. Added the *optimize* parameter."
677+
"Allowed use of Windows and Mac newlines. Also, input in ``'exec'`` mode "
678+
"does not have to end in a newline anymore. Added the *optimize* parameter."
697679
msgstr ""
698680

699681
msgid ""
@@ -775,7 +757,7 @@ msgid ""
775757
"If the object does not provide :meth:`__dir__`, the function tries its best "
776758
"to gather information from the object's :attr:`~object.__dict__` attribute, "
777759
"if defined, and from its type object. The resulting list is not necessarily "
778-
"complete, and may be inaccurate when the object has a custom :func:"
760+
"complete and may be inaccurate when the object has a custom :func:"
779761
"`__getattr__`."
780762
msgstr ""
781763

@@ -813,7 +795,7 @@ msgid ""
813795
msgstr ""
814796

815797
msgid ""
816-
"Take two (non complex) numbers as arguments and return a pair of numbers "
798+
"Take two (non-complex) numbers as arguments and return a pair of numbers "
817799
"consisting of their quotient and remainder when using integer division. "
818800
"With mixed operand types, the rules for binary arithmetic operators apply. "
819801
"For integers, the result is the same as ``(a // b, a % b)``. For floating "
@@ -863,14 +845,14 @@ msgstr ""
863845

864846
msgid ""
865847
"This function can also be used to execute arbitrary code objects (such as "
866-
"those created by :func:`compile`). In this case pass a code object instead "
848+
"those created by :func:`compile`). In this case, pass a code object instead "
867849
"of a string. If the code object has been compiled with ``'exec'`` as the "
868850
"*mode* argument, :func:`eval`\\'s return value will be ``None``."
869851
msgstr ""
870852

871853
msgid ""
872854
"Hints: dynamic execution of statements is supported by the :func:`exec` "
873-
"function. The :func:`globals` and :func:`locals` functions returns the "
855+
"function. The :func:`globals` and :func:`locals` functions return the "
874856
"current global and local dictionary, respectively, which may be useful to "
875857
"pass around for use by :func:`eval` or :func:`exec`."
876858
msgstr ""
@@ -913,8 +895,8 @@ msgid ""
913895
"not a subclass of dictionary), which will be used for both the global and "
914896
"the local variables. If *globals* and *locals* are given, they are used for "
915897
"the global and local variables, respectively. If provided, *locals* can be "
916-
"any mapping object. Remember that at module level, globals and locals are "
917-
"the same dictionary. If exec gets two separate objects as *globals* and "
898+
"any mapping object. Remember that at the module level, globals and locals "
899+
"are the same dictionary. If exec gets two separate objects as *globals* and "
918900
"*locals*, the code will be executed as if it were embedded in a class "
919901
"definition."
920902
msgstr ""
@@ -968,16 +950,16 @@ msgid ""
968950
"preceded by a sign, and optionally embedded in whitespace. The optional "
969951
"sign may be ``'+'`` or ``'-'``; a ``'+'`` sign has no effect on the value "
970952
"produced. The argument may also be a string representing a NaN (not-a-"
971-
"number), or a positive or negative infinity. More precisely, the input must "
953+
"number), or positive or negative infinity. More precisely, the input must "
972954
"conform to the following grammar after leading and trailing whitespace "
973955
"characters are removed:"
974956
msgstr ""
975957

976958
msgid ""
977959
"Here ``floatnumber`` is the form of a Python floating-point literal, "
978960
"described in :ref:`floating`. Case is not significant, so, for example, "
979-
"\"inf\", \"Inf\", \"INFINITY\" and \"iNfINity\" are all acceptable spellings "
980-
"for positive infinity."
961+
"\"inf\", \"Inf\", \"INFINITY\", and \"iNfINity\" are all acceptable "
962+
"spellings for positive infinity."
981963
msgstr ""
982964

983965
msgid ""
@@ -1008,7 +990,7 @@ msgstr ""
1008990
msgid ""
1009991
"Convert a *value* to a \"formatted\" representation, as controlled by "
1010992
"*format_spec*. The interpretation of *format_spec* will depend on the type "
1011-
"of the *value* argument, however there is a standard formatting syntax that "
993+
"of the *value* argument; however, there is a standard formatting syntax that "
1012994
"is used by most built-in types: :ref:`formatspec`."
1013995
msgstr ""
1014996

@@ -1095,7 +1077,7 @@ msgid ""
10951077
msgstr ""
10961078

10971079
msgid ""
1098-
"Note that if a slash(/) appears in the parameter list of a function, when "
1080+
"Note that if a slash(/) appears in the parameter list of a function when "
10991081
"invoking :func:`help`, it means that the parameters prior to the slash are "
11001082
"positional-only. For more info, see :ref:`the FAQ entry on positional-only "
11011083
"parameters <faq-positional-only-arguments>`."
@@ -1214,7 +1196,7 @@ msgstr ""
12141196

12151197
msgid ""
12161198
"Return ``True`` if the *object* argument is an instance of the *classinfo* "
1217-
"argument, or of a (direct, indirect or :term:`virtual <abstract base "
1199+
"argument, or of a (direct, indirect, or :term:`virtual <abstract base "
12181200
"class>`) subclass thereof. If *object* is not an object of the given type, "
12191201
"the function always returns ``False``. If *classinfo* is a tuple of type "
12201202
"objects (or recursively, other such tuples) or a :ref:`types-union` of "
@@ -1227,11 +1209,11 @@ msgid "*classinfo* can be a :ref:`types-union`."
12271209
msgstr ""
12281210

12291211
msgid ""
1230-
"Return ``True`` if *class* is a subclass (direct, indirect or :term:`virtual "
1231-
"<abstract base class>`) of *classinfo*. A class is considered a subclass of "
1232-
"itself. *classinfo* may be a tuple of class objects or a :ref:`types-union`, "
1233-
"in which case every entry in *classinfo* will be checked. In any other case, "
1234-
"a :exc:`TypeError` exception is raised."
1212+
"Return ``True`` if *class* is a subclass (direct, indirect, or :term:"
1213+
"`virtual <abstract base class>`) of *classinfo*. A class is considered a "
1214+
"subclass of itself. *classinfo* may be a tuple of class objects or a :ref:"
1215+
"`types-union`, in which case every entry in *classinfo* will be checked. In "
1216+
"any other case, a :exc:`TypeError` exception is raised."
12351217
msgstr ""
12361218

12371219
msgid ""
@@ -1357,7 +1339,7 @@ msgstr ""
13571339

13581340
msgid ""
13591341
"Return a new featureless object. :class:`object` is a base for all classes. "
1360-
"It has the methods that are common to all instances of Python classes. This "
1342+
"It has methods that are common to all instances of Python classes. This "
13611343
"function does not accept any arguments."
13621344
msgstr ""
13631345

@@ -1374,8 +1356,8 @@ msgid ""
13741356
msgstr ""
13751357

13761358
msgid ""
1377-
"If you want to convert an integer number to octal string either with prefix "
1378-
"\"0o\" or not, you can use either of the following ways."
1359+
"If you want to convert an integer number to an octal string either with the "
1360+
"prefix \"0o\" or not, you can use either of the following ways."
13791361
msgstr ""
13801362

13811363
msgid ""
@@ -1388,18 +1370,18 @@ msgid ""
13881370
"*file* is a :term:`path-like object` giving the pathname (absolute or "
13891371
"relative to the current working directory) of the file to be opened or an "
13901372
"integer file descriptor of the file to be wrapped. (If a file descriptor is "
1391-
"given, it is closed when the returned I/O object is closed, unless *closefd* "
1373+
"given, it is closed when the returned I/O object is closed unless *closefd* "
13921374
"is set to ``False``.)"
13931375
msgstr ""
13941376

13951377
msgid ""
13961378
"*mode* is an optional string that specifies the mode in which the file is "
13971379
"opened. It defaults to ``'r'`` which means open for reading in text mode. "
13981380
"Other common values are ``'w'`` for writing (truncating the file if it "
1399-
"already exists), ``'x'`` for exclusive creation and ``'a'`` for appending "
1381+
"already exists), ``'x'`` for exclusive creation, and ``'a'`` for appending "
14001382
"(which on *some* Unix systems, means that *all* writes append to the end of "
14011383
"the file regardless of the current seek position). In text mode, if "
1402-
"*encoding* is not specified the encoding used is platform dependent: "
1384+
"*encoding* is not specified the encoding used is platform-dependent: "
14031385
"``locale.getpreferredencoding(False)`` is called to get the current locale "
14041386
"encoding. (For reading and writing raw bytes use binary mode and leave "
14051387
"*encoding* unspecified.) The available modes are:"
@@ -1432,7 +1414,7 @@ msgstr ""
14321414
msgid "``'a'``"
14331415
msgstr ""
14341416

1435-
msgid "open for writing, appending to the end of the file if it exists"
1417+
msgid "open for writing, appending to the end of file if it exists"
14361418
msgstr ""
14371419

14381420
msgid "``'b'``"
@@ -1454,7 +1436,7 @@ msgid "open for updating (reading and writing)"
14541436
msgstr ""
14551437

14561438
msgid ""
1457-
"The default mode is ``'r'`` (open for reading text, synonym of ``'rt'``). "
1439+
"The default mode is ``'r'`` (open for reading text, a synonym of ``'rt'``). "
14581440
"Modes ``'w+'`` and ``'w+b'`` open and truncate the file. Modes ``'r+'`` and "
14591441
"``'r+b'`` open the file with no truncation."
14601442
msgstr ""
@@ -1472,7 +1454,7 @@ msgstr ""
14721454
msgid ""
14731455
"There is an additional mode character permitted, ``'U'``, which no longer "
14741456
"has any effect, and is considered deprecated. It previously enabled :term:"
1475-
"`universal newlines` in text mode, which became the default behaviour in "
1457+
"`universal newlines` in text mode, which became the default behavior in "
14761458
"Python 3.0. Refer to the documentation of the :ref:`newline <open-newline-"
14771459
"parameter>` parameter for further details."
14781460
msgstr ""
@@ -1586,8 +1568,8 @@ msgstr ""
15861568
msgid ""
15871569
"If *closefd* is ``False`` and a file descriptor rather than a filename was "
15881570
"given, the underlying file descriptor will be kept open when the file is "
1589-
"closed. If a filename is given *closefd* must be ``True`` (the default) "
1590-
"otherwise an error will be raised."
1571+
"closed. If a filename is given *closefd* must be ``True`` (the default); "
1572+
"otherwise, an error will be raised."
15911573
msgstr ""
15921574

15931575
msgid ""
@@ -1621,7 +1603,7 @@ msgid ""
16211603
msgstr ""
16221604

16231605
msgid ""
1624-
"See also the file handling modules, such as, :mod:`fileinput`, :mod:`io` "
1606+
"See also the file handling modules, such as :mod:`fileinput`, :mod:`io` "
16251607
"(where :func:`open` is declared), :mod:`os`, :mod:`os.path`, :mod:"
16261608
"`tempfile`, and :mod:`shutil`."
16271609
msgstr ""
@@ -1718,7 +1700,7 @@ msgstr ""
17181700

17191701
msgid ""
17201702
"Print *objects* to the text stream *file*, separated by *sep* and followed "
1721-
"by *end*. *sep*, *end*, *file* and *flush*, if present, must be given as "
1703+
"by *end*. *sep*, *end*, *file*, and *flush*, if present, must be given as "
17221704
"keyword arguments."
17231705
msgstr ""
17241706

@@ -1738,7 +1720,7 @@ msgid ""
17381720
msgstr ""
17391721

17401722
msgid ""
1741-
"Whether output is buffered is usually determined by *file*, but if the "
1723+
"Whether the output is buffered is usually determined by *file*, but if the "
17421724
"*flush* keyword argument is true, the stream is forcibly flushed."
17431725
msgstr ""
17441726

@@ -1759,7 +1741,7 @@ msgstr ""
17591741

17601742
msgid ""
17611743
"If *c* is an instance of *C*, ``c.x`` will invoke the getter, ``c.x = "
1762-
"value`` will invoke the setter and ``del c.x`` the deleter."
1744+
"value`` will invoke the setter, and ``del c.x`` the deleter."
17631745
msgstr ""
17641746

17651747
msgid ""
@@ -1804,7 +1786,7 @@ msgstr ""
18041786
msgid ""
18051787
"Return a string containing a printable representation of an object. For "
18061788
"many types, this function makes an attempt to return a string that would "
1807-
"yield an object with the same value when passed to :func:`eval`, otherwise "
1789+
"yield an object with the same value when passed to :func:`eval`; otherwise, "
18081790
"the representation is a string enclosed in angle brackets that contains the "
18091791
"name of the type of the object together with additional information often "
18101792
"including the name and address of the object. A class can control what this "
@@ -1831,7 +1813,7 @@ msgid ""
18311813
"both ``round(0.5)`` and ``round(-0.5)`` are ``0``, and ``round(1.5)`` is "
18321814
"``2``). Any integer value is valid for *ndigits* (positive, zero, or "
18331815
"negative). The return value is an integer if *ndigits* is omitted or "
1834-
"``None``. Otherwise the return value has the same type as *number*."
1816+
"``None``. Otherwise, the return value has the same type as *number*."
18351817
msgstr ""
18361818

18371819
msgid ""
@@ -1861,10 +1843,10 @@ msgstr ""
18611843

18621844
msgid ""
18631845
"This is the counterpart of :func:`getattr`. The arguments are an object, a "
1864-
"string and an arbitrary value. The string may name an existing attribute or "
1865-
"a new attribute. The function assigns the value to the attribute, provided "
1866-
"the object allows it. For example, ``setattr(x, 'foobar', 123)`` is "
1867-
"equivalent to ``x.foobar = 123``."
1846+
"string, and an arbitrary value. The string may name an existing attribute "
1847+
"or a new attribute. The function assigns the value to the attribute, "
1848+
"provided the object allows it. For example, ``setattr(x, 'foobar', 123)`` "
1849+
"is equivalent to ``x.foobar = 123``."
18681850
msgstr ""
18691851

18701852
msgid ""
@@ -1877,9 +1859,9 @@ msgid ""
18771859
"Return a :term:`slice` object representing the set of indices specified by "
18781860
"``range(start, stop, step)``. The *start* and *step* arguments default to "
18791861
"``None``. Slice objects have read-only data attributes :attr:`~slice."
1880-
"start`, :attr:`~slice.stop` and :attr:`~slice.step` which merely return the "
1862+
"start`, :attr:`~slice.stop`, and :attr:`~slice.step` which merely return the "
18811863
"argument values (or their default). They have no other explicit "
1882-
"functionality; however they are used by NumPy and other third party "
1864+
"functionality; however, they are used by NumPy and other third-party "
18831865
"packages. Slice objects are also generated when extended indexing syntax is "
18841866
"used. For example: ``a[start:stop:step]`` or ``a[start:stop, i]``. See :"
18851867
"func:`itertools.islice` for an alternate version that returns an iterator."
@@ -1939,7 +1921,7 @@ msgid ""
19391921
msgstr ""
19401922

19411923
msgid ""
1942-
"Static methods in Python are similar to those found in Java or C++. Also "
1924+
"Static methods in Python are similar to those found in Java or C++. Also, "
19431925
"see :func:`classmethod` for a variant that is useful for creating alternate "
19441926
"class constructors."
19451927
msgstr ""
@@ -2246,7 +2228,7 @@ msgid ""
22462228
"*globals* and *locals* to determine how to interpret the name in a package "
22472229
"context. The *fromlist* gives the names of objects or submodules that should "
22482230
"be imported from the module given by *name*. The standard implementation "
2249-
"does not use its *locals* argument at all, and uses its *globals* only to "
2231+
"does not use its *locals* argument at all and uses its *globals* only to "
22502232
"determine the package context of the :keyword:`import` statement."
22512233
msgstr ""
22522234

0 commit comments

Comments
 (0)