Skip to content

Commit c038ebb

Browse files
Update translation
Co-Authored-By: Adorilson Bezerra <adorilson@gmail.com>
1 parent a20067c commit c038ebb

File tree

4 files changed

+88
-16
lines changed

4 files changed

+88
-16
lines changed

glossary.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.14\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-07-25 14:21+0000\n"
15+
"POT-Creation-Date: 2025-08-03 14:17+0000\n"
1616
"PO-Revision-Date: 2025-07-18 18:48+0000\n"
1717
"Last-Translator: Adorilson Bezerra <adorilson@gmail.com>, 2025\n"
1818
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -2638,7 +2638,7 @@ msgid ""
26382638
msgstr ""
26392639
":dfn:`var-nomeado`: especifica que, arbitrariamente, muitos argumentos "
26402640
"nomeados podem ser fornecidos (em adição a qualquer argumento nomeado já "
2641-
"aceito por outros parâmetros). Tal parâmetro pode definido colocando-se "
2641+
"aceito por outros parâmetros). Tal parâmetro pode ser definido colocando-se "
26422642
"``**`` antes do nome, por exemplo *kwargs* no exemplo acima."
26432643

26442644
#: ../../glossary.rst:1072

library/inspect.po

Lines changed: 82 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
#
66
# Translators:
77
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
8+
# Adorilson Bezerra <adorilson@gmail.com>, 2025
89
#
910
#, fuzzy
1011
msgid ""
1112
msgstr ""
1213
"Project-Id-Version: Python 3.14\n"
1314
"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"
1516
"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"
1718
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
1819
"teams/5390/pt_BR/)\n"
1920
"MIME-Version: 1.0\n"
@@ -1296,53 +1297,72 @@ msgid ""
12961297
"Parameter` object, you can use :meth:`Parameter.replace` or :func:`copy."
12971298
"replace` to create a modified copy."
12981299
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."
12991303

13001304
#: ../../library/inspect.rst:914
13011305
msgid "Parameter objects are now picklable and :term:`hashable`."
13021306
msgstr ""
1307+
"Objetos Parameter agora são compatíveis com pickle e :term:`hasheável`."
13031308

13041309
#: ../../library/inspect.rst:919
13051310
msgid ""
13061311
"A special class-level marker to specify absence of default values and "
13071312
"annotations."
13081313
msgstr ""
1314+
"Um marcador de nível de classe especial para especificar a ausência de valor "
1315+
"padrão e anotação."
13091316

13101317
#: ../../library/inspect.rst:924
13111318
msgid ""
13121319
"The name of the parameter as a string. The name must be a valid Python "
13131320
"identifier."
13141321
msgstr ""
1322+
"O nome do parâmetro como uma string. O nome deve ser um identificador Python "
1323+
"válido."
13151324

13161325
#: ../../library/inspect.rst:929
13171326
msgid ""
13181327
"CPython generates implicit parameter names of the form ``.0`` on the code "
13191328
"objects used to implement comprehensions and generator expressions."
13201329
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."
13211332

13221333
#: ../../library/inspect.rst:933
13231334
msgid ""
13241335
"These parameter names are now exposed by this module as names like "
13251336
"``implicit0``."
13261337
msgstr ""
1338+
"Esses nomes de parâmetro agora são expostos por este módulo como nomes como "
1339+
"``implicit0``."
13271340

13281341
#: ../../library/inspect.rst:939
13291342
msgid ""
13301343
"The default value for the parameter. If the parameter has no default value, "
13311344
"this attribute is set to :attr:`Parameter.empty`."
13321345
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`."
13331348

13341349
#: ../../library/inspect.rst:944
13351350
msgid ""
13361351
"The annotation for the parameter. If the parameter has no annotation, this "
13371352
"attribute is set to :attr:`Parameter.empty`."
13381353
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`."
13391356

13401357
#: ../../library/inspect.rst:949
13411358
msgid ""
13421359
"Describes how argument values are bound to the parameter. The possible "
13431360
"values are accessible via :class:`Parameter` (like ``Parameter."
13441361
"KEYWORD_ONLY``), and support comparison and ordering, in the following order:"
13451362
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:"
13461366

13471367
#: ../../library/inspect.rst:956
13481368
msgid "Name"
@@ -1354,59 +1374,73 @@ msgstr "Significado"
13541374

13551375
#: ../../library/inspect.rst:958
13561376
msgid "*POSITIONAL_ONLY*"
1357-
msgstr ""
1377+
msgstr "*POSITIONAL_ONLY*"
13581378

13591379
#: ../../library/inspect.rst:958
13601380
msgid ""
13611381
"Value must be supplied as a positional argument. Positional only parameters "
13621382
"are those which appear before a ``/`` entry (if present) in a Python "
13631383
"function definition."
13641384
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."
13651388

13661389
#: ../../library/inspect.rst:963
13671390
msgid "*POSITIONAL_OR_KEYWORD*"
1368-
msgstr ""
1391+
msgstr "*POSITIONAL_OR_KEYWORD*"
13691392

13701393
#: ../../library/inspect.rst:963
13711394
msgid ""
13721395
"Value may be supplied as either a keyword or positional argument (this is "
13731396
"the standard binding behaviour for functions implemented in Python.)"
13741397
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)."
13751400

13761401
#: ../../library/inspect.rst:968
13771402
msgid "*VAR_POSITIONAL*"
1378-
msgstr "```*VAR_POSITIONAL*```"
1403+
msgstr "*VAR_POSITIONAL*"
13791404

13801405
#: ../../library/inspect.rst:968
13811406
msgid ""
13821407
"A tuple of positional arguments that aren't bound to any other parameter. "
13831408
"This corresponds to a ``*args`` parameter in a Python function definition."
13841409
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."
13851413

13861414
#: ../../library/inspect.rst:973
13871415
msgid "*KEYWORD_ONLY*"
1388-
msgstr ""
1416+
msgstr "*KEYWORD_ONLY*"
13891417

13901418
#: ../../library/inspect.rst:973
13911419
msgid ""
13921420
"Value must be supplied as a keyword argument. Keyword only parameters are "
13931421
"those which appear after a ``*`` or ``*args`` entry in a Python function "
13941422
"definition."
13951423
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."
13961427

13971428
#: ../../library/inspect.rst:978
13981429
msgid "*VAR_KEYWORD*"
1399-
msgstr ""
1430+
msgstr "*VAR_KEYWORD*"
14001431

14011432
#: ../../library/inspect.rst:978
14021433
msgid ""
14031434
"A dict of keyword arguments that aren't bound to any other parameter. This "
14041435
"corresponds to a ``**kwargs`` parameter in a Python function definition."
14051436
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."
14061440

14071441
#: ../../library/inspect.rst:984
14081442
msgid "Example: print all keyword-only arguments without default values:"
1409-
msgstr ""
1443+
msgstr "Exemplo: exibir todos argumentos somente-nomeados sem padrão valor:"
14101444

14111445
#: ../../library/inspect.rst:986
14121446
msgid ""
@@ -1420,14 +1454,23 @@ msgid ""
14201454
"... print('Parameter:', param)\n"
14211455
"Parameter: c"
14221456
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"
14231466

14241467
#: ../../library/inspect.rst:1000
14251468
msgid "Describes an enum value of :attr:`Parameter.kind`."
1426-
msgstr ""
1469+
msgstr "Descreve um valor enumerado de :attr:`Parameter.kind`."
14271470

14281471
#: ../../library/inspect.rst:1004
14291472
msgid "Example: print all descriptions of arguments:"
1430-
msgstr ""
1473+
msgstr "Exemplo: exibir as descrições de todos os argumento:"
14311474

14321475
#: ../../library/inspect.rst:1006
14331476
msgid ""
@@ -1442,6 +1485,16 @@ msgid ""
14421485
"keyword-only\n"
14431486
"keyword-only"
14441487
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"
14451498

14461499
#: ../../library/inspect.rst:1021
14471500
msgid ""
@@ -1450,6 +1503,10 @@ msgid ""
14501503
"corresponding argument. To remove a default value or/and an annotation from "
14511504
"a :class:`!Parameter`, pass :attr:`Parameter.empty`."
14521505
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`."
14531510

14541511
#: ../../library/inspect.rst:1026
14551512
msgid ""
@@ -1464,19 +1521,34 @@ msgid ""
14641521
">>> str(param.replace(default=Parameter.empty, annotation='spam'))\n"
14651522
"\"foo: 'spam'\""
14661523
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'\""
14671534

14681535
#: ../../library/inspect.rst:1039
14691536
msgid ""
14701537
":class:`Parameter` objects are also supported by the generic function :func:"
14711538
"`copy.replace`."
14721539
msgstr ""
1540+
"Objetos :class:`Parameter` também são suportados pela função genérica :func:"
1541+
"`copy.replace`."
14731542

14741543
#: ../../library/inspect.rst:1042
14751544
msgid ""
14761545
"In Python 3.3 :class:`Parameter` objects were allowed to have ``name`` set "
14771546
"to ``None`` if their ``kind`` was set to ``POSITIONAL_ONLY``. This is no "
14781547
"longer permitted."
14791548
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."
14801552

14811553
#: ../../library/inspect.rst:1049
14821554
msgid ""

potodo.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565

6666

6767

68-
# library (66.12% done)
68+
# library (66.19% done)
6969

7070
- annotationlib.po 136 / 137 ( 99.0% translated).
7171
- argparse.po 392 / 397 ( 98.0% translated).
@@ -123,7 +123,7 @@
123123
- idle.po 28 / 293 ( 9.0% translated).
124124
- imaplib.po 13 / 130 ( 10.0% translated).
125125
- importlib.po 244 / 313 ( 77.0% translated).
126-
- inspect.po 80 / 397 ( 20.0% translated).
126+
- inspect.po 107 / 397 ( 26.0% translated).
127127
- io.po 58 / 284 ( 20.0% translated).
128128
- ipaddress.po 165 / 168 ( 98.0% translated).
129129
- itertools.po 155 / 201 ( 77.0% translated).
@@ -222,5 +222,5 @@
222222
- changelog.po 3036 / 13442 ( 22.0% translated).
223223

224224

225-
# TOTAL (62.33% done)
225+
# TOTAL (62.36% done)
226226

stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"completion": "62.33%", "translated": 50310, "entries": 80714, "updated_at": "2025-08-02T23:10:31+00:00Z"}
1+
{"completion": "62.36%", "translated": 50337, "entries": 80714, "updated_at": "2025-08-03T23:09:47+00:00Z"}

0 commit comments

Comments
 (0)