Skip to content

Commit cbfd1e9

Browse files
pomerge from 3.10 branch into 3.6
1 parent cec4957 commit cbfd1e9

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

extending/extending.po

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ msgid ""
5151
"aspects of the Python run-time system. The Python API is incorporated in a "
5252
"C source file by including the header ``\"Python.h\"``."
5353
msgstr ""
54+
"Para dar suporte a extensões, a API do Python API (Application Programmers "
55+
"Interface) define um conjunto de funções, macros e variáveis que fornecem "
56+
"acesso à maior parte dos aspectos do sistema de tempo de execução do "
57+
"Python. A API do Python pode ser incorporada em um arquivo fonte em C com a "
58+
"inclusão do cabeçalho ``\"Python.h\"``. "
5459

5560
#: ../../extending/extending.rst:20
5661
msgid ""
@@ -85,6 +90,12 @@ msgid ""
8590
"terminated character string as argument and returns an integer. We want "
8691
"this function to be callable from Python as follows:"
8792
msgstr ""
93+
"Vamos criar um módulo de extensão chamado ``spam`` (a comida favorita dos "
94+
"fãs de Monty Python...) e digamos que nosso objetivo seja criar uma "
95+
"interface em Python para a função da biblioteca C :c:func:`system` [#]_. "
96+
"Essa função toma uma string de caracteres terminada em nulo como argumento e "
97+
"retorna um número inteiro. Queremos que essa função seja chamável a partir "
98+
"do Python como abaixo:"
8899

89100
#: ../../extending/extending.rst:52
90101
msgid ""
@@ -93,6 +104,10 @@ msgid ""
93104
"`spammodule.c`; if the module name is very long, like ``spammify``, the "
94105
"module name can be just :file:`spammify.c`.)"
95106
msgstr ""
107+
"Comece criando um arquivo chamado :file:`spammodule.c`. (Historicamente, se "
108+
"um módulo for chamado ``spam``, o arquivo C contendo sua implementação é "
109+
"chamado :file:`spammodule.c`; se o nome do módulo for muito longo, como "
110+
"``spammify``, o nome do arquivo pode ser só :file:`spammify.c`.)"
96111

97112
#: ../../extending/extending.rst:57
98113
msgid "The first line of our file can be::"
@@ -103,6 +118,8 @@ msgid ""
103118
"which pulls in the Python API (you can add a comment describing the purpose "
104119
"of the module and a copyright notice if you like)."
105120
msgstr ""
121+
"o que carrega a API do Python (você pode adicionar um comentário descrevendo "
122+
"o propósito do módulo e uma nota de copyright, se desejar)."
106123

107124
#: ../../extending/extending.rst:66
108125
msgid ""

library/xml.dom.pulldom.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ msgstr ""
118118

119119
#: ../../library/xml.dom.pulldom.rst:80 ../../library/xml.dom.pulldom.rst:85
120120
msgid "Subclass of :class:`xml.sax.handler.ContentHandler`."
121-
msgstr ""
121+
msgstr "Subclasse de :class:`xml.sax.handler.ContentHandler`."
122122

123123
#: ../../library/xml.dom.pulldom.rst:90
124124
msgid ""

0 commit comments

Comments
 (0)