Skip to content

Commit 936b83b

Browse files
committed
Update translation from Transifex
1 parent bdbe743 commit 936b83b

1 file changed

Lines changed: 52 additions & 8 deletions

File tree

reference/expressions.po

Lines changed: 52 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.9\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2021-05-23 06:25+0000\n"
14+
"POT-Creation-Date: 2021-07-31 07:07+0000\n"
1515
"PO-Revision-Date: 2017-02-16 23:38+0000\n"
1616
"Last-Translator: m_aciek <maciej.olko@gmail.com>, 2020\n"
1717
"Language-Team: Polish (https://www.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -1001,23 +1001,32 @@ msgid ""
10011001
"`complex` number. (In earlier versions it raised a :exc:`ValueError`.)"
10021002
msgstr ""
10031003

1004+
msgid ""
1005+
"This operation can be customized using the special :meth:`__pow__` method."
1006+
msgstr ""
1007+
10041008
msgid "Unary arithmetic and bitwise operations"
10051009
msgstr ""
10061010

10071011
msgid "All unary arithmetic and bitwise operations have the same priority:"
10081012
msgstr ""
10091013

10101014
msgid ""
1011-
"The unary ``-`` (minus) operator yields the negation of its numeric argument."
1015+
"The unary ``-`` (minus) operator yields the negation of its numeric "
1016+
"argument; the operation can be overridden with the :meth:`__neg__` special "
1017+
"method."
10121018
msgstr ""
10131019

1014-
msgid "The unary ``+`` (plus) operator yields its numeric argument unchanged."
1020+
msgid ""
1021+
"The unary ``+`` (plus) operator yields its numeric argument unchanged; the "
1022+
"operation can be overridden with the :meth:`__pos__` special method."
10151023
msgstr ""
10161024

10171025
msgid ""
10181026
"The unary ``~`` (invert) operator yields the bitwise inversion of its "
10191027
"integer argument. The bitwise inversion of ``x`` is defined as ``-(x+1)``. "
1020-
"It only applies to integral numbers."
1028+
"It only applies to integral numbers or to custom objects that override the :"
1029+
"meth:`__invert__` special method."
10211030
msgstr ""
10221031

10231032
msgid ""
@@ -1044,6 +1053,11 @@ msgid ""
10441053
"an empty sequence."
10451054
msgstr ""
10461055

1056+
msgid ""
1057+
"This operation can be customized using the special :meth:`__mul__` and :meth:"
1058+
"`__rmul__` methods."
1059+
msgstr ""
1060+
10471061
msgid ""
10481062
"The ``@`` (at) operator is intended to be used for matrix multiplication. "
10491063
"No builtin Python types implement this operator."
@@ -1058,6 +1072,11 @@ msgid ""
10581072
"the :exc:`ZeroDivisionError` exception."
10591073
msgstr ""
10601074

1075+
msgid ""
1076+
"This operation can be customized using the special :meth:`__div__` and :meth:"
1077+
"`__floordiv__` methods."
1078+
msgstr ""
1079+
10611080
msgid ""
10621081
"The ``%`` (modulo) operator yields the remainder from the division of the "
10631082
"first argument by the second. The numeric arguments are first converted to "
@@ -1084,6 +1103,11 @@ msgid ""
10841103
"formatting`."
10851104
msgstr ""
10861105

1106+
msgid ""
1107+
"The *modulo* operation can be customized using the special :meth:`__mod__` "
1108+
"method."
1109+
msgstr ""
1110+
10871111
msgid ""
10881112
"The floor division operator, the modulo operator, and the :func:`divmod` "
10891113
"function are not defined for complex numbers. Instead, convert to a "
@@ -1097,11 +1121,20 @@ msgid ""
10971121
"then added together. In the latter case, the sequences are concatenated."
10981122
msgstr ""
10991123

1124+
msgid ""
1125+
"This operation can be customized using the special :meth:`__add__` and :meth:"
1126+
"`__radd__` methods."
1127+
msgstr ""
1128+
11001129
msgid ""
11011130
"The ``-`` (subtraction) operator yields the difference of its arguments. "
11021131
"The numeric arguments are first converted to a common type."
11031132
msgstr ""
11041133

1134+
msgid ""
1135+
"This operation can be customized using the special :meth:`__sub__` method."
1136+
msgstr ""
1137+
11051138
msgid "Shifting operations"
11061139
msgstr ""
11071140

@@ -1114,6 +1147,11 @@ msgid ""
11141147
"to the left or right by the number of bits given by the second argument."
11151148
msgstr ""
11161149

1150+
msgid ""
1151+
"This operation can be customized using the special :meth:`__lshift__` and :"
1152+
"meth:`__rshift__` methods."
1153+
msgstr ""
1154+
11171155
msgid ""
11181156
"A right shift by *n* bits is defined as floor division by ``pow(2,n)``. A "
11191157
"left shift by *n* bits is defined as multiplication with ``pow(2,n)``."
@@ -1127,17 +1165,20 @@ msgstr ""
11271165

11281166
msgid ""
11291167
"The ``&`` operator yields the bitwise AND of its arguments, which must be "
1130-
"integers."
1168+
"integers or one of them must be a custom object overriding :meth:`__and__` "
1169+
"or :meth:`__rand__` special methods."
11311170
msgstr ""
11321171

11331172
msgid ""
11341173
"The ``^`` operator yields the bitwise XOR (exclusive OR) of its arguments, "
1135-
"which must be integers."
1174+
"which must be integers or one of them must be a custom object overriding :"
1175+
"meth:`__xor__` or :meth:`__rxor__` special methods."
11361176
msgstr ""
11371177

11381178
msgid ""
11391179
"The ``|`` operator yields the bitwise (inclusive) OR of its arguments, which "
1140-
"must be integers."
1180+
"must be integers or one of them must be a custom object overriding :meth:"
1181+
"`__or__` or :meth:`__ror__` special methods."
11411182
msgstr ""
11421183

11431184
msgid "Comparisons"
@@ -1150,7 +1191,10 @@ msgid ""
11501191
"conventional in mathematics:"
11511192
msgstr ""
11521193

1153-
msgid "Comparisons yield boolean values: ``True`` or ``False``."
1194+
msgid ""
1195+
"Comparisons yield boolean values: ``True`` or ``False``. Custom :dfn:`rich "
1196+
"comparison methods` may return non-boolean values. In this case Python will "
1197+
"call :func:`bool` on such value in boolean contexts."
11541198
msgstr ""
11551199

11561200
msgid ""

0 commit comments

Comments
 (0)