@@ -166,6 +166,8 @@ msgid ""
166
166
"complex(real=3, imag=5)\n"
167
167
"complex(**{'real': 3, 'imag': 5})"
168
168
msgstr ""
169
+ "complex(real=3, imag=5)\n"
170
+ "complex(**{'real': 3, 'imag': 5})"
169
171
170
172
#: ../../glossary.rst:67
171
173
msgid ""
@@ -185,6 +187,8 @@ msgid ""
185
187
"complex(3, 5)\n"
186
188
"complex(*(3, 5))"
187
189
msgstr ""
190
+ "complex(3, 5)\n"
191
+ "complex(*(3, 5))"
188
192
189
193
#: ../../glossary.rst:76
190
194
msgid ""
@@ -519,7 +523,7 @@ msgstr ""
519
523
520
524
#: ../../glossary.rst:210
521
525
msgid "callable(argument1, argument2, argumentN)"
522
- msgstr ""
526
+ msgstr "chamavel(argumento1, argumento2, argumentoN) "
523
527
524
528
#: ../../glossary.rst:212
525
529
msgid ""
@@ -732,6 +736,13 @@ msgid ""
732
736
"def f(arg):\n"
733
737
" ..."
734
738
msgstr ""
739
+ "def f(arg):\n"
740
+ " ...\n"
741
+ "f = staticmethod(f)\n"
742
+ "\n"
743
+ "@staticmethod\n"
744
+ "def f(arg):\n"
745
+ " ..."
735
746
736
747
#: ../../glossary.rst:303
737
748
msgid ""
@@ -1135,6 +1146,8 @@ msgid ""
1135
1146
"def sum_two_numbers(a: int, b: int) -> int:\n"
1136
1147
" return a + b"
1137
1148
msgstr ""
1149
+ "def soma_dois_numeros(a: int, b: int) -> int:\n"
1150
+ " return a + b"
1138
1151
1139
1152
#: ../../glossary.rst:464
1140
1153
msgid "Function annotation syntax is explained in section :ref:`function`."
@@ -1177,6 +1190,9 @@ msgid ""
1177
1190
">>> __future__.division\n"
1178
1191
"_Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 8192)"
1179
1192
msgstr ""
1193
+ ">>> import __future__\n"
1194
+ ">>> __future__.division\n"
1195
+ "_Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 8192)"
1180
1196
1181
1197
#: ../../glossary.rst:483
1182
1198
msgid "garbage collection"
@@ -1264,6 +1280,9 @@ msgid ""
1264
1280
">>> sum(i*i for i in range(10)) # sum of squares 0, 1, 4, ... 81\n"
1265
1281
"285"
1266
1282
msgstr ""
1283
+ ">>> sum(i*i for i in range(10)) # soma dos quadrados 0, 1, 4, ... "
1284
+ "81\n"
1285
+ "285"
1267
1286
1268
1287
#: ../../glossary.rst:521
1269
1288
msgid "generic function"
@@ -2075,6 +2094,12 @@ msgid ""
2075
2094
">>> isinstance(sys.float_info, tuple) # kind of tuple\n"
2076
2095
"True"
2077
2096
msgstr ""
2097
+ ">>> sys.float_info[1] # acesso indexado\n"
2098
+ "1024\n"
2099
+ ">>> sys.float_info.max_exp # acesso a campo nomeado\n"
2100
+ "1024\n"
2101
+ ">>> isinstance(sys.float_info, tuple) # tipo de tupla\n"
2102
+ "True"
2078
2103
2079
2104
#: ../../glossary.rst:851
2080
2105
msgid ""
@@ -2262,7 +2287,7 @@ msgstr ""
2262
2287
2263
2288
#: ../../glossary.rst:927
2264
2289
msgid "def func(foo, bar=None): ..."
2265
- msgstr ""
2290
+ msgstr "def func(foo, bar=None): ... "
2266
2291
2267
2292
#: ../../glossary.rst:931
2268
2293
msgid ""
@@ -2274,11 +2299,11 @@ msgstr ""
2274
2299
":dfn:`somente-posicional`: especifica um argumento que pode ser fornecido "
2275
2300
"apenas por posição. Parâmetros somente-posicionais podem ser definidos "
2276
2301
"incluindo o caractere ``/`` na lista de parâmetros da definição da função "
2277
- "após eles, por exemplo *posonly1 * e *posonly2 * a seguir::"
2302
+ "após eles, por exemplo *somentepos1 * e *somentepos2 * a seguir::"
2278
2303
2279
2304
#: ../../glossary.rst:936
2280
2305
msgid "def func(posonly1, posonly2, /, positional_or_keyword): ..."
2281
- msgstr ""
2306
+ msgstr "def func(somentepos1, somentepos2, /, posicional_ou_nomeado): ... "
2282
2307
2283
2308
#: ../../glossary.rst:940
2284
2309
msgid ""