@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.13\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2025-01-10 14:17 +0000\n "
14+ "POT-Creation-Date : 2025-03-21 14:18 +0000\n "
1515"PO-Revision-Date : 2021-06-28 00:50+0000\n "
1616"Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n "
1717"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
@@ -488,20 +488,22 @@ msgid ""
488488"If negative, the absolute value specifies how much space instances of the "
489489"class need *in addition* to the superclass. Use :c:func:"
490490"`PyObject_GetTypeData` to get a pointer to subclass-specific memory reserved "
491- "this way."
491+ "this way. For negative :c:member:`!basicsize`, Python will insert padding "
492+ "when needed to meet :c:member:`~PyTypeObject.tp_basicsize`'s alignment "
493+ "requirements."
492494msgstr ""
493495
494- #: ../../c-api/type.rst:418
496+ #: ../../c-api/type.rst:421
495497msgid "Previously, this field could not be negative."
496498msgstr ""
497499
498- #: ../../c-api/type.rst:422
500+ #: ../../c-api/type.rst:425
499501msgid ""
500502"Size of one element of a variable-size type, in bytes. Used to set :c:member:"
501503"`PyTypeObject.tp_itemsize`. See ``tp_itemsize`` documentation for caveats."
502504msgstr ""
503505
504- #: ../../c-api/type.rst:426
506+ #: ../../c-api/type.rst:429
505507msgid ""
506508"If zero, :c:member:`~PyTypeObject.tp_itemsize` is inherited. Extending "
507509"arbitrary variable-sized classes is dangerous, since some types use a fixed "
@@ -510,150 +512,150 @@ msgid ""
510512"only possible in the following situations:"
511513msgstr ""
512514
513- #: ../../c-api/type.rst:433
515+ #: ../../c-api/type.rst:436
514516msgid ""
515517"The base is not variable-sized (its :c:member:`~PyTypeObject.tp_itemsize`)."
516518msgstr ""
517519
518- #: ../../c-api/type.rst:435
520+ #: ../../c-api/type.rst:438
519521msgid ""
520522"The requested :c:member:`PyType_Spec.basicsize` is positive, suggesting that "
521523"the memory layout of the base class is known."
522524msgstr ""
523525
524- #: ../../c-api/type.rst:437
526+ #: ../../c-api/type.rst:440
525527msgid ""
526528"The requested :c:member:`PyType_Spec.basicsize` is zero, suggesting that the "
527529"subclass does not access the instance's memory directly."
528530msgstr ""
529531
530- #: ../../c-api/type.rst:440
532+ #: ../../c-api/type.rst:443
531533msgid "With the :c:macro:`Py_TPFLAGS_ITEMS_AT_END` flag."
532534msgstr ""
533535
534- #: ../../c-api/type.rst:444
536+ #: ../../c-api/type.rst:447
535537msgid "Type flags, used to set :c:member:`PyTypeObject.tp_flags`."
536538msgstr ""
537539
538- #: ../../c-api/type.rst:446
540+ #: ../../c-api/type.rst:449
539541msgid ""
540542"If the ``Py_TPFLAGS_HEAPTYPE`` flag is not set, :c:func:"
541543"`PyType_FromSpecWithBases` sets it automatically."
542544msgstr ""
543545
544- #: ../../c-api/type.rst:451
546+ #: ../../c-api/type.rst:454
545547msgid ""
546548"Array of :c:type:`PyType_Slot` structures. Terminated by the special slot "
547549"value ``{0, NULL}``."
548550msgstr ""
549551
550- #: ../../c-api/type.rst:454
552+ #: ../../c-api/type.rst:457
551553msgid "Each slot ID should be specified at most once."
552554msgstr ""
553555
554- #: ../../c-api/type.rst:464
556+ #: ../../c-api/type.rst:467
555557msgid ""
556558"Structure defining optional functionality of a type, containing a slot ID "
557559"and a value pointer."
558560msgstr ""
559561
560- #: ../../c-api/type.rst:469
562+ #: ../../c-api/type.rst:472
561563msgid "A slot ID."
562564msgstr ""
563565
564- #: ../../c-api/type.rst:471
566+ #: ../../c-api/type.rst:474
565567msgid ""
566568"Slot IDs are named like the field names of the structures :c:type:"
567569"`PyTypeObject`, :c:type:`PyNumberMethods`, :c:type:`PySequenceMethods`, :c:"
568570"type:`PyMappingMethods` and :c:type:`PyAsyncMethods` with an added ``Py_`` "
569571"prefix. For example, use:"
570572msgstr ""
571573
572- #: ../../c-api/type.rst:477
574+ #: ../../c-api/type.rst:480
573575msgid "``Py_tp_dealloc`` to set :c:member:`PyTypeObject.tp_dealloc`"
574576msgstr ""
575577
576- #: ../../c-api/type.rst:478
578+ #: ../../c-api/type.rst:481
577579msgid "``Py_nb_add`` to set :c:member:`PyNumberMethods.nb_add`"
578580msgstr ""
579581
580- #: ../../c-api/type.rst:479
582+ #: ../../c-api/type.rst:482
581583msgid "``Py_sq_length`` to set :c:member:`PySequenceMethods.sq_length`"
582584msgstr ""
583585
584- #: ../../c-api/type.rst:481
586+ #: ../../c-api/type.rst:484
585587msgid ""
586588"The following “offset” fields cannot be set using :c:type:`PyType_Slot`:"
587589msgstr ""
588590
589- #: ../../c-api/type.rst:483
591+ #: ../../c-api/type.rst:486
590592msgid ""
591593":c:member:`~PyTypeObject.tp_weaklistoffset` (use :c:macro:"
592594"`Py_TPFLAGS_MANAGED_WEAKREF` instead if possible)"
593595msgstr ""
594596
595- #: ../../c-api/type.rst:485
597+ #: ../../c-api/type.rst:488
596598msgid ""
597599":c:member:`~PyTypeObject.tp_dictoffset` (use :c:macro:"
598600"`Py_TPFLAGS_MANAGED_DICT` instead if possible)"
599601msgstr ""
600602
601- #: ../../c-api/type.rst:487
603+ #: ../../c-api/type.rst:490
602604msgid ""
603605":c:member:`~PyTypeObject.tp_vectorcall_offset` (use "
604606"``\" __vectorcalloffset__\" `` in :ref:`PyMemberDef <pymemberdef-offsets>`)"
605607msgstr ""
606608
607- #: ../../c-api/type.rst:491
609+ #: ../../c-api/type.rst:494
608610msgid ""
609611"If it is not possible to switch to a ``MANAGED`` flag (for example, for "
610612"vectorcall or to support Python older than 3.12), specify the offset in :c:"
611613"member:`Py_tp_members <PyTypeObject.tp_members>`. See :ref:`PyMemberDef "
612614"documentation <pymemberdef-offsets>` for details."
613615msgstr ""
614616
615- #: ../../c-api/type.rst:497
617+ #: ../../c-api/type.rst:500
616618msgid "The following fields cannot be set at all when creating a heap type:"
617619msgstr ""
618620
619- #: ../../c-api/type.rst:499
621+ #: ../../c-api/type.rst:502
620622msgid ""
621623":c:member:`~PyTypeObject.tp_vectorcall` (use :c:member:`~PyTypeObject."
622624"tp_new` and/or :c:member:`~PyTypeObject.tp_init`)"
623625msgstr ""
624626
625- #: ../../c-api/type.rst:503
627+ #: ../../c-api/type.rst:506
626628msgid ""
627629"Internal fields: :c:member:`~PyTypeObject.tp_dict`, :c:member:`~PyTypeObject."
628630"tp_mro`, :c:member:`~PyTypeObject.tp_cache`, :c:member:`~PyTypeObject."
629631"tp_subclasses`, and :c:member:`~PyTypeObject.tp_weaklist`."
630632msgstr ""
631633
632- #: ../../c-api/type.rst:510
634+ #: ../../c-api/type.rst:513
633635msgid ""
634636"Setting :c:data:`Py_tp_bases` or :c:data:`Py_tp_base` may be problematic on "
635637"some platforms. To avoid issues, use the *bases* argument of :c:func:"
636638"`PyType_FromSpecWithBases` instead."
637639msgstr ""
638640
639- #: ../../c-api/type.rst:515
641+ #: ../../c-api/type.rst:518
640642msgid "Slots in :c:type:`PyBufferProcs` may be set in the unlimited API."
641643msgstr ""
642644
643- #: ../../c-api/type.rst:518
645+ #: ../../c-api/type.rst:521
644646msgid ""
645647":c:member:`~PyBufferProcs.bf_getbuffer` and :c:member:`~PyBufferProcs."
646648"bf_releasebuffer` are now available under the :ref:`limited API <limited-c-"
647649"api>`."
648650msgstr ""
649651
650- #: ../../c-api/type.rst:525
652+ #: ../../c-api/type.rst:528
651653msgid ""
652654"The desired value of the slot. In most cases, this is a pointer to a "
653655"function."
654656msgstr ""
655657
656- #: ../../c-api/type.rst:528
658+ #: ../../c-api/type.rst:531
657659msgid "Slots other than ``Py_tp_doc`` may not be ``NULL``."
658660msgstr ""
659661
0 commit comments