Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdba9a08

Browse files
author
github-actions
committed
Update translations from Transifex
1 parenta71c884 commitdba9a08

18 files changed

+14954
-14812
lines changed

‎c-api/allocation.po

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version:Python 3.13\n"
1414
"Report-Msgid-Bugs-To:\n"
15-
"POT-Creation-Date:2025-03-07 14:18+0000\n"
15+
"POT-Creation-Date:2025-03-21 14:18+0000\n"
1616
"PO-Revision-Date:2021-06-28 00:47+0000\n"
1717
"Last-Translator:souma987, 2023\n"
1818
"Language-Team:Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -58,7 +58,14 @@ msgstr ""
5858
"ります)。メモリ割り当ての大きさは型オブジェクトの :c:member:`~PyTypeObject."
5959
"tp_basicsize` フィールドによって定められます。"
6060

61-
#:../../c-api/allocation.rst:41
61+
#:../../c-api/allocation.rst:38
62+
msgid""
63+
"Note that this function is unsuitable if *typeobj* has :c:macro:"
64+
"`Py_TPFLAGS_HAVE_GC` set. For such objects, use :c:func:`PyObject_GC_New` "
65+
"instead."
66+
msgstr""
67+
68+
#:../../c-api/allocation.rst:45
6269
msgid""
6370
"Allocate a new Python object using the C structure type *TYPE* and the "
6471
"Python type object *typeobj* (``PyTypeObject*``). Fields not defined by the "
@@ -80,7 +87,14 @@ msgstr ""
8087
"の配列も埋め込むことで、メモリ割当の回数を減らし、メモリ管理効率を上げること"
8188
"ができます。"
8289

83-
#:../../c-api/allocation.rst:55
90+
#:../../c-api/allocation.rst:56
91+
msgid""
92+
"Note that this function is unsuitable if *typeobj* has :c:macro:"
93+
"`Py_TPFLAGS_HAVE_GC` set. For such objects, use :c:func:`PyObject_GC_NewVar` "
94+
"instead."
95+
msgstr""
96+
97+
#:../../c-api/allocation.rst:63
8498
msgid""
8599
"Releases memory allocated to an object using :c:macro:`PyObject_New` or :c:"
86100
"macro:`PyObject_NewVar`. This is normally called from the :c:member:"
@@ -94,7 +108,7 @@ msgstr ""
94108
"れの呼び出し後のメモリは既に有効な Python オブジェクトではなくなっているた"
95109
"め、オブジェクトのフィールドはアクセスされるべきではありません。"
96110

97-
#:../../c-api/allocation.rst:64
111+
#:../../c-api/allocation.rst:72
98112
msgid""
99113
"Object which is visible in Python as ``None``. This should only be accessed "
100114
"using the :c:macro:`Py_None` macro, which evaluates to a pointer to this "
@@ -104,10 +118,10 @@ msgstr ""
104118
"ブジェクトへのポインタを評価する :c:macro:`Py_None` マクロを使わなければなり"
105119
"ません。"
106120

107-
#:../../c-api/allocation.rst:71
121+
#:../../c-api/allocation.rst:79
108122
msgid":c:func:`PyModule_Create`"
109123
msgstr":c:func:`PyModule_Create`"
110124

111-
#:../../c-api/allocation.rst:72
125+
#:../../c-api/allocation.rst:80
112126
msgid"To allocate and create extension modules."
113127
msgstr"拡張モジュールのアロケートと生成。"

‎c-api/type.po

Lines changed: 34 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version:Python 3.13\n"
1414
"Report-Msgid-Bugs-To:\n"
15-
"POT-Creation-Date:2025-03-14 14:17+0000\n"
15+
"POT-Creation-Date:2025-03-21 14:18+0000\n"
1616
"PO-Revision-Date:2021-06-28 00:50+0000\n"
1717
"Last-Translator:石井明久, 2024\n"
1818
"Language-Team:Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -474,20 +474,22 @@ msgid ""
474474
"If negative, the absolute value specifies how much space instances of the "
475475
"class need *in addition* to the superclass. Use :c:func:"
476476
"`PyObject_GetTypeData` to get a pointer to subclass-specific memory reserved "
477-
"this way."
477+
"this way. For negative :c:member:`!basicsize`, Python will insert padding "
478+
"when needed to meet :c:member:`~PyTypeObject.tp_basicsize`'s alignment "
479+
"requirements."
478480
msgstr""
479481

480-
#:../../c-api/type.rst:418
482+
#:../../c-api/type.rst:421
481483
msgid"Previously, this field could not be negative."
482484
msgstr""
483485

484-
#:../../c-api/type.rst:422
486+
#:../../c-api/type.rst:425
485487
msgid""
486488
"Size of one element of a variable-size type, in bytes. Used to set :c:member:"
487489
"`PyTypeObject.tp_itemsize`. See ``tp_itemsize`` documentation for caveats."
488490
msgstr""
489491

490-
#:../../c-api/type.rst:426
492+
#:../../c-api/type.rst:429
491493
msgid""
492494
"If zero, :c:member:`~PyTypeObject.tp_itemsize` is inherited. Extending "
493495
"arbitrary variable-sized classes is dangerous, since some types use a fixed "
@@ -496,150 +498,150 @@ msgid ""
496498
"only possible in the following situations:"
497499
msgstr""
498500

499-
#:../../c-api/type.rst:433
501+
#:../../c-api/type.rst:436
500502
msgid""
501503
"The base is not variable-sized (its :c:member:`~PyTypeObject.tp_itemsize`)."
502504
msgstr""
503505

504-
#:../../c-api/type.rst:435
506+
#:../../c-api/type.rst:438
505507
msgid""
506508
"The requested :c:member:`PyType_Spec.basicsize` is positive, suggesting that "
507509
"the memory layout of the base class is known."
508510
msgstr""
509511

510-
#:../../c-api/type.rst:437
512+
#:../../c-api/type.rst:440
511513
msgid""
512514
"The requested :c:member:`PyType_Spec.basicsize` is zero, suggesting that the "
513515
"subclass does not access the instance's memory directly."
514516
msgstr""
515517

516-
#:../../c-api/type.rst:440
518+
#:../../c-api/type.rst:443
517519
msgid"With the :c:macro:`Py_TPFLAGS_ITEMS_AT_END` flag."
518520
msgstr""
519521

520-
#:../../c-api/type.rst:444
522+
#:../../c-api/type.rst:447
521523
msgid"Type flags, used to set :c:member:`PyTypeObject.tp_flags`."
522524
msgstr""
523525

524-
#:../../c-api/type.rst:446
526+
#:../../c-api/type.rst:449
525527
msgid""
526528
"If the ``Py_TPFLAGS_HEAPTYPE`` flag is not set, :c:func:"
527529
"`PyType_FromSpecWithBases` sets it automatically."
528530
msgstr""
529531

530-
#:../../c-api/type.rst:451
532+
#:../../c-api/type.rst:454
531533
msgid""
532534
"Array of :c:type:`PyType_Slot` structures. Terminated by the special slot "
533535
"value ``{0, NULL}``."
534536
msgstr""
535537

536-
#:../../c-api/type.rst:454
538+
#:../../c-api/type.rst:457
537539
msgid"Each slot ID should be specified at most once."
538540
msgstr""
539541

540-
#:../../c-api/type.rst:464
542+
#:../../c-api/type.rst:467
541543
msgid""
542544
"Structure defining optional functionality of a type, containing a slot ID "
543545
"and a value pointer."
544546
msgstr""
545547

546-
#:../../c-api/type.rst:469
548+
#:../../c-api/type.rst:472
547549
msgid"A slot ID."
548550
msgstr""
549551

550-
#:../../c-api/type.rst:471
552+
#:../../c-api/type.rst:474
551553
msgid""
552554
"Slot IDs are named like the field names of the structures :c:type:"
553555
"`PyTypeObject`, :c:type:`PyNumberMethods`, :c:type:`PySequenceMethods`, :c:"
554556
"type:`PyMappingMethods` and :c:type:`PyAsyncMethods` with an added ``Py_`` "
555557
"prefix. For example, use:"
556558
msgstr""
557559

558-
#:../../c-api/type.rst:477
560+
#:../../c-api/type.rst:480
559561
msgid"``Py_tp_dealloc`` to set :c:member:`PyTypeObject.tp_dealloc`"
560562
msgstr""
561563

562-
#:../../c-api/type.rst:478
564+
#:../../c-api/type.rst:481
563565
msgid"``Py_nb_add`` to set :c:member:`PyNumberMethods.nb_add`"
564566
msgstr""
565567

566-
#:../../c-api/type.rst:479
568+
#:../../c-api/type.rst:482
567569
msgid"``Py_sq_length`` to set :c:member:`PySequenceMethods.sq_length`"
568570
msgstr""
569571

570-
#:../../c-api/type.rst:481
572+
#:../../c-api/type.rst:484
571573
msgid""
572574
"The following “offset” fields cannot be set using :c:type:`PyType_Slot`:"
573575
msgstr""
574576

575-
#:../../c-api/type.rst:483
577+
#:../../c-api/type.rst:486
576578
msgid""
577579
":c:member:`~PyTypeObject.tp_weaklistoffset` (use :c:macro:"
578580
"`Py_TPFLAGS_MANAGED_WEAKREF` instead if possible)"
579581
msgstr""
580582

581-
#:../../c-api/type.rst:485
583+
#:../../c-api/type.rst:488
582584
msgid""
583585
":c:member:`~PyTypeObject.tp_dictoffset` (use :c:macro:"
584586
"`Py_TPFLAGS_MANAGED_DICT` instead if possible)"
585587
msgstr""
586588

587-
#:../../c-api/type.rst:487
589+
#:../../c-api/type.rst:490
588590
msgid""
589591
":c:member:`~PyTypeObject.tp_vectorcall_offset` (use "
590592
"``\"__vectorcalloffset__\"`` in :ref:`PyMemberDef <pymemberdef-offsets>`)"
591593
msgstr""
592594

593-
#:../../c-api/type.rst:491
595+
#:../../c-api/type.rst:494
594596
msgid""
595597
"If it is not possible to switch to a ``MANAGED`` flag (for example, for "
596598
"vectorcall or to support Python older than 3.12), specify the offset in :c:"
597599
"member:`Py_tp_members <PyTypeObject.tp_members>`. See :ref:`PyMemberDef "
598600
"documentation <pymemberdef-offsets>` for details."
599601
msgstr""
600602

601-
#:../../c-api/type.rst:497
603+
#:../../c-api/type.rst:500
602604
msgid"The following fields cannot be set at all when creating a heap type:"
603605
msgstr""
604606

605-
#:../../c-api/type.rst:499
607+
#:../../c-api/type.rst:502
606608
msgid""
607609
":c:member:`~PyTypeObject.tp_vectorcall` (use :c:member:`~PyTypeObject."
608610
"tp_new` and/or :c:member:`~PyTypeObject.tp_init`)"
609611
msgstr""
610612

611-
#:../../c-api/type.rst:503
613+
#:../../c-api/type.rst:506
612614
msgid""
613615
"Internal fields: :c:member:`~PyTypeObject.tp_dict`, :c:member:`~PyTypeObject."
614616
"tp_mro`, :c:member:`~PyTypeObject.tp_cache`, :c:member:`~PyTypeObject."
615617
"tp_subclasses`, and :c:member:`~PyTypeObject.tp_weaklist`."
616618
msgstr""
617619

618-
#:../../c-api/type.rst:510
620+
#:../../c-api/type.rst:513
619621
msgid""
620622
"Setting :c:data:`Py_tp_bases` or :c:data:`Py_tp_base` may be problematic on "
621623
"some platforms. To avoid issues, use the *bases* argument of :c:func:"
622624
"`PyType_FromSpecWithBases` instead."
623625
msgstr""
624626

625-
#:../../c-api/type.rst:515
627+
#:../../c-api/type.rst:518
626628
msgid"Slots in :c:type:`PyBufferProcs` may be set in the unlimited API."
627629
msgstr""
628630

629-
#:../../c-api/type.rst:518
631+
#:../../c-api/type.rst:521
630632
msgid""
631633
":c:member:`~PyBufferProcs.bf_getbuffer` and :c:member:`~PyBufferProcs."
632634
"bf_releasebuffer` are now available under the :ref:`limited API <limited-c-"
633635
"api>`."
634636
msgstr""
635637

636-
#:../../c-api/type.rst:525
638+
#:../../c-api/type.rst:528
637639
msgid""
638640
"The desired value of the slot. In most cases, this is a pointer to a "
639641
"function."
640642
msgstr""
641643

642-
#:../../c-api/type.rst:528
644+
#:../../c-api/type.rst:531
643645
msgid"Slots other than ``Py_tp_doc`` may not be ``NULL``."
644646
msgstr""
645647

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp