5
5
#
6
6
# Translators:
7
7
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
8
+ # Adorilson Bezerra <adorilson@gmail.com>, 2025
8
9
#
9
10
#, fuzzy
10
11
msgid ""
11
12
msgstr ""
12
13
"Project-Id-Version : Python 3.14\n "
13
14
"Report-Msgid-Bugs-To : \n "
14
- "POT-Creation-Date : 2025-05-09 14:19 +0000\n "
15
+ "POT-Creation-Date : 2025-08-03 14:17 +0000\n "
15
16
"PO-Revision-Date : 2025-07-18 18:49+0000\n "
16
- "Last-Translator : Rafael Fontenelle <rffontenelle @gmail.com>, 2025\n "
17
+ "Last-Translator : Adorilson Bezerra <adorilson @gmail.com>, 2025\n "
17
18
"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
18
19
"teams/5390/pt_BR/)\n "
19
20
"MIME-Version : 1.0\n "
@@ -1296,53 +1297,72 @@ msgid ""
1296
1297
"Parameter` object, you can use :meth:`Parameter.replace` or :func:`copy."
1297
1298
"replace` to create a modified copy."
1298
1299
msgstr ""
1300
+ "Objetos :class:`!Parameter` são *imutáveis*. Em vez de modificar um objeto :"
1301
+ "class:`!Parameter`, você pode usar :meth:`Parameter.replace` ou :func:`copy."
1302
+ "replace` para criar uma cópia modificada."
1299
1303
1300
1304
#: ../../library/inspect.rst:914
1301
1305
msgid "Parameter objects are now picklable and :term:`hashable`."
1302
1306
msgstr ""
1307
+ "Objetos Parameter agora são compatíveis com pickle e :term:`hasheável`."
1303
1308
1304
1309
#: ../../library/inspect.rst:919
1305
1310
msgid ""
1306
1311
"A special class-level marker to specify absence of default values and "
1307
1312
"annotations."
1308
1313
msgstr ""
1314
+ "Um marcador de nível de classe especial para especificar a ausência de valor "
1315
+ "padrão e anotação."
1309
1316
1310
1317
#: ../../library/inspect.rst:924
1311
1318
msgid ""
1312
1319
"The name of the parameter as a string. The name must be a valid Python "
1313
1320
"identifier."
1314
1321
msgstr ""
1322
+ "O nome do parâmetro como uma string. O nome deve ser um identificador Python "
1323
+ "válido."
1315
1324
1316
1325
#: ../../library/inspect.rst:929
1317
1326
msgid ""
1318
1327
"CPython generates implicit parameter names of the form ``.0`` on the code "
1319
1328
"objects used to implement comprehensions and generator expressions."
1320
1329
msgstr ""
1330
+ "CPython gera nomes de parâmetro implícito na forma ``.0`` no código objeto "
1331
+ "usado para implementar compreensão e expressão geradora."
1321
1332
1322
1333
#: ../../library/inspect.rst:933
1323
1334
msgid ""
1324
1335
"These parameter names are now exposed by this module as names like "
1325
1336
"``implicit0``."
1326
1337
msgstr ""
1338
+ "Esses nomes de parâmetro agora são expostos por este módulo como nomes como "
1339
+ "``implicit0``."
1327
1340
1328
1341
#: ../../library/inspect.rst:939
1329
1342
msgid ""
1330
1343
"The default value for the parameter. If the parameter has no default value, "
1331
1344
"this attribute is set to :attr:`Parameter.empty`."
1332
1345
msgstr ""
1346
+ "O padrão valor para o parâmetro. Se o parâmetro não tiver padrão valor, esse "
1347
+ "atributo será definido como :attr:`Parameter.empty`."
1333
1348
1334
1349
#: ../../library/inspect.rst:944
1335
1350
msgid ""
1336
1351
"The annotation for the parameter. If the parameter has no annotation, this "
1337
1352
"attribute is set to :attr:`Parameter.empty`."
1338
1353
msgstr ""
1354
+ "A anotação para o parâmetro. Se o parâmetro não tiver anotação, esse "
1355
+ "atributo será definido como :attr:`Parameter.empty`."
1339
1356
1340
1357
#: ../../library/inspect.rst:949
1341
1358
msgid ""
1342
1359
"Describes how argument values are bound to the parameter. The possible "
1343
1360
"values are accessible via :class:`Parameter` (like ``Parameter."
1344
1361
"KEYWORD_ONLY``), and support comparison and ordering, in the following order:"
1345
1362
msgstr ""
1363
+ "Descreve como valores de argumento são vinculados ao parâmetro. Os possíveis "
1364
+ "valores são acessíveis via :class:`Parameter` (como ``Parameter."
1365
+ "KEYWORD_ONLY``) e tem suporte para comparação e ordenação, na seguinte ordem:"
1346
1366
1347
1367
#: ../../library/inspect.rst:956
1348
1368
msgid "Name"
@@ -1354,59 +1374,73 @@ msgstr "Significado"
1354
1374
1355
1375
#: ../../library/inspect.rst:958
1356
1376
msgid "*POSITIONAL_ONLY*"
1357
- msgstr ""
1377
+ msgstr "*POSITIONAL_ONLY* "
1358
1378
1359
1379
#: ../../library/inspect.rst:958
1360
1380
msgid ""
1361
1381
"Value must be supplied as a positional argument. Positional only parameters "
1362
1382
"are those which appear before a ``/`` entry (if present) in a Python "
1363
1383
"function definition."
1364
1384
msgstr ""
1385
+ "Valor deve ser fornecido como argumento posicional. Parâmetros somente-"
1386
+ "posicionais são aqueles que aparecem antes de uma entrada ``/`` (se "
1387
+ "presente) em uma definição de função Python."
1365
1388
1366
1389
#: ../../library/inspect.rst:963
1367
1390
msgid "*POSITIONAL_OR_KEYWORD*"
1368
- msgstr ""
1391
+ msgstr "*POSITIONAL_OR_KEYWORD* "
1369
1392
1370
1393
#: ../../library/inspect.rst:963
1371
1394
msgid ""
1372
1395
"Value may be supplied as either a keyword or positional argument (this is "
1373
1396
"the standard binding behaviour for functions implemented in Python.)"
1374
1397
msgstr ""
1398
+ "Valor pode ser fornecido como argumento posicional ou nomeado (esse é o "
1399
+ "comportamento de ligação padrão para funções implementadas em Python)."
1375
1400
1376
1401
#: ../../library/inspect.rst:968
1377
1402
msgid "*VAR_POSITIONAL*"
1378
- msgstr "``` *VAR_POSITIONAL*``` "
1403
+ msgstr "*VAR_POSITIONAL*"
1379
1404
1380
1405
#: ../../library/inspect.rst:968
1381
1406
msgid ""
1382
1407
"A tuple of positional arguments that aren't bound to any other parameter. "
1383
1408
"This corresponds to a ``*args`` parameter in a Python function definition."
1384
1409
msgstr ""
1410
+ "Uma tupla de argumentos posicionais que não estão vinculados a nenhum outro "
1411
+ "parâmetro. Isso corresponde a um parâmetro ``*args`` em uma definição de "
1412
+ "função Python."
1385
1413
1386
1414
#: ../../library/inspect.rst:973
1387
1415
msgid "*KEYWORD_ONLY*"
1388
- msgstr ""
1416
+ msgstr "*KEYWORD_ONLY* "
1389
1417
1390
1418
#: ../../library/inspect.rst:973
1391
1419
msgid ""
1392
1420
"Value must be supplied as a keyword argument. Keyword only parameters are "
1393
1421
"those which appear after a ``*`` or ``*args`` entry in a Python function "
1394
1422
"definition."
1395
1423
msgstr ""
1424
+ "Valor deve ser fornecido como argumento nomeado. Parâmetros somente-nomeados "
1425
+ "são aqueles que aparecem após uma entrada ``*`` ou ``*args`` em uma "
1426
+ "definição de função Python."
1396
1427
1397
1428
#: ../../library/inspect.rst:978
1398
1429
msgid "*VAR_KEYWORD*"
1399
- msgstr ""
1430
+ msgstr "*VAR_KEYWORD* "
1400
1431
1401
1432
#: ../../library/inspect.rst:978
1402
1433
msgid ""
1403
1434
"A dict of keyword arguments that aren't bound to any other parameter. This "
1404
1435
"corresponds to a ``**kwargs`` parameter in a Python function definition."
1405
1436
msgstr ""
1437
+ "Um dicionário de argumentos nomeados que não estão vinculados a nenhum outro "
1438
+ "parâmetro. Isso corresponde a um parâmetro ``**kwargs`` em uma definição de "
1439
+ "função Python."
1406
1440
1407
1441
#: ../../library/inspect.rst:984
1408
1442
msgid "Example: print all keyword-only arguments without default values:"
1409
- msgstr ""
1443
+ msgstr "Exemplo: exibir todos argumentos somente-nomeados sem padrão valor: "
1410
1444
1411
1445
#: ../../library/inspect.rst:986
1412
1446
msgid ""
@@ -1420,14 +1454,23 @@ msgid ""
1420
1454
"... print('Parameter:', param)\n"
1421
1455
"Parameter: c"
1422
1456
msgstr ""
1457
+ ">>> def foo(a, b, *, c, d=10):\n"
1458
+ "... pass\n"
1459
+ "\n"
1460
+ ">>> sig = signature(foo)\n"
1461
+ ">>> for param in sig.parameters.values():\n"
1462
+ "... if (param.kind == param.KEYWORD_ONLY and\n"
1463
+ "... param.default is param.empty):\n"
1464
+ "... print('Parameter:', param)\n"
1465
+ "Parameter: c"
1423
1466
1424
1467
#: ../../library/inspect.rst:1000
1425
1468
msgid "Describes an enum value of :attr:`Parameter.kind`."
1426
- msgstr ""
1469
+ msgstr "Descreve um valor enumerado de :attr:`Parameter.kind`. "
1427
1470
1428
1471
#: ../../library/inspect.rst:1004
1429
1472
msgid "Example: print all descriptions of arguments:"
1430
- msgstr ""
1473
+ msgstr "Exemplo: exibir as descrições de todos os argumento: "
1431
1474
1432
1475
#: ../../library/inspect.rst:1006
1433
1476
msgid ""
@@ -1442,6 +1485,16 @@ msgid ""
1442
1485
"keyword-only\n"
1443
1486
"keyword-only"
1444
1487
msgstr ""
1488
+ ">>> def foo(a, b, *, c, d=10):\n"
1489
+ "... pass\n"
1490
+ "\n"
1491
+ ">>> sig = signature(foo)\n"
1492
+ ">>> for param in sig.parameters.values():\n"
1493
+ "... print(param.kind.description)\n"
1494
+ "positional or keyword\n"
1495
+ "positional or keyword\n"
1496
+ "keyword-only\n"
1497
+ "keyword-only"
1445
1498
1446
1499
#: ../../library/inspect.rst:1021
1447
1500
msgid ""
@@ -1450,6 +1503,10 @@ msgid ""
1450
1503
"corresponding argument. To remove a default value or/and an annotation from "
1451
1504
"a :class:`!Parameter`, pass :attr:`Parameter.empty`."
1452
1505
msgstr ""
1506
+ "Cria uma nova instância de :class:`Parameter` com base na instância em que o "
1507
+ "método foi chamado. Para substituir um atributo de :class:`!Parameter`, "
1508
+ "passe o argumento correspondente. Para remover um valor padrão ou/e uma "
1509
+ "anotação de um :class:`!Parameter`, passe :attr:`Parameter.empty`."
1453
1510
1454
1511
#: ../../library/inspect.rst:1026
1455
1512
msgid ""
@@ -1464,19 +1521,34 @@ msgid ""
1464
1521
">>> str(param.replace(default=Parameter.empty, annotation='spam'))\n"
1465
1522
"\" foo: 'spam'\" "
1466
1523
msgstr ""
1524
+ ">>> from inspect import Parameter\n"
1525
+ ">>> param = Parameter('foo', Parameter.KEYWORD_ONLY, default=42)\n"
1526
+ ">>> str(param)\n"
1527
+ "'foo=42'\n"
1528
+ "\n"
1529
+ ">>> str(param.replace()) # Criará uma cópia rasa de 'param'\n"
1530
+ "'foo=42'\n"
1531
+ "\n"
1532
+ ">>> str(param.replace(default=Parameter.empty, annotation='spam'))\n"
1533
+ "\" foo: 'spam'\" "
1467
1534
1468
1535
#: ../../library/inspect.rst:1039
1469
1536
msgid ""
1470
1537
":class:`Parameter` objects are also supported by the generic function :func:"
1471
1538
"`copy.replace`."
1472
1539
msgstr ""
1540
+ "Objetos :class:`Parameter` também são suportados pela função genérica :func:"
1541
+ "`copy.replace`."
1473
1542
1474
1543
#: ../../library/inspect.rst:1042
1475
1544
msgid ""
1476
1545
"In Python 3.3 :class:`Parameter` objects were allowed to have ``name`` set "
1477
1546
"to ``None`` if their ``kind`` was set to ``POSITIONAL_ONLY``. This is no "
1478
1547
"longer permitted."
1479
1548
msgstr ""
1549
+ "Em Python 3.3, era permitido objetos :class:`Parameter` terem ``name`` "
1550
+ "definido como ``None`` se ``kind`` estivesse definido como "
1551
+ "``POSITIONAL_ONLY``. Isso não é mais permitido."
1480
1552
1481
1553
#: ../../library/inspect.rst:1049
1482
1554
msgid ""
0 commit comments