@@ -4608,19 +4608,26 @@ msgid ""
46084608"An optional string naming the struct/union layout. It can currently be set "
46094609"to:"
46104610msgstr ""
4611+ "Uma string opcional que nomeia o layout da estrutura/união. Atualmente, ele "
4612+ "pode ser definido como:"
46114613
46124614#: ../../library/ctypes.rst:2846
46134615msgid ""
46144616"``\" ms\" ``: the layout used by the Microsoft compiler (MSVC). On GCC and "
46154617"Clang, this layout can be selected with ``__attribute__((ms_struct))``."
46164618msgstr ""
4619+ "``\" ms\" ``: o layout usado pelo compilador Microsoft (MSVC). No GCC e no "
4620+ "Clang, este layout pode ser selecionado com ``__attribute__((ms_struct))``."
46174621
46184622#: ../../library/ctypes.rst:2849
46194623msgid ""
46204624"``\" gcc-sysv\" ``: the layout used by GCC with the System V or “SysV-like” "
46214625"data model, as used on Linux and macOS. With this layout, :attr:`~Structure."
46224626"_pack_` must be unset or zero."
46234627msgstr ""
4628+ "``\" gcc-sysv\" ``: o layout usado pelo GCC com o modelo de dados System V ou "
4629+ "“SysV-like”, como usado no Linux e no macOS. Com este layout, :attr:"
4630+ "`~Structure._pack_` não deve estar definido ou deve ser igual a zero."
46244631
46254632#: ../../library/ctypes.rst:2853
46264633msgid ""
@@ -4629,26 +4636,35 @@ msgid ""
46294636"example, when a new platform gains official support, or when a difference "
46304637"between similar platforms is found). Currently the default will be:"
46314638msgstr ""
4639+ "Se não for definido explicitamente, ``ctypes`` usará um valor predefinido "
4640+ "que corresponde às convenções da plataforma. Este valor predefinido pode "
4641+ "mudar em futuras versões do Python (por exemplo, quando uma nova plataforma "
4642+ "ganha suporte oficial ou quando é identificada uma diferença entre "
4643+ "plataformas semelhantes). Atualmente, o valor predefinido será:"
46324644
46334645#: ../../library/ctypes.rst:2859
46344646msgid "On Windows: ``\" ms\" ``"
4635- msgstr ""
4647+ msgstr "No Windows: `` \" ms \" `` "
46364648
46374649#: ../../library/ctypes.rst:2860
46384650msgid ""
46394651"When :attr:`~Structure._pack_` is specified: ``\" ms\" ``. (This is "
46404652"deprecated; see :attr:`~Structure._pack_` documentation.)"
46414653msgstr ""
4654+ "Quando :attr:`~Structure._pack_` está especificado: ``\" ms\" ``. (Isto está "
4655+ "descontinuado; veja a documentação de :attr:`~Structure._pack_`.)"
46424656
46434657#: ../../library/ctypes.rst:2862
46444658msgid "Otherwise: ``\" gcc-sysv\" ``"
4645- msgstr ""
4659+ msgstr "Caso contrário: `` \" gcc-sysv \" `` "
46464660
46474661#: ../../library/ctypes.rst:2864
46484662msgid ""
46494663":attr:`!_layout_` must already be defined when :attr:`~Structure._fields_` "
46504664"is assigned, otherwise it will have no effect."
46514665msgstr ""
4666+ ":attr:`!_layout_` já deve estar definido quando :attr:`~Structure._fields_` "
4667+ "é atribuído, caso contrário, não terá efeito."
46524668
46534669#: ../../library/ctypes.rst:2871
46544670msgid ""
0 commit comments