- Notifications
You must be signed in to change notification settings - Fork 80
/
Copy pathtypeobj.po
4922 lines (4248 loc) · 206 KB
/
typeobj.po
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-2025, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
#
#,fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-03-28 14:58+0000\n"
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: zh_CN\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#:../../c-api/typeobj.rst:6
msgid"Type Object Structures"
msgstr"类型对象结构体"
#:../../c-api/typeobj.rst:8
msgid""
"Perhaps one of the most important structures of the Python object system is "
"the structure that defines a new type: the :c:type:`PyTypeObject` structure."
" Type objects can be handled using any of the ``PyObject_*`` or "
"``PyType_*`` functions, but do not offer much that's interesting to most "
"Python applications. These objects are fundamental to how objects behave, so"
" they are very important to the interpreter itself and to any extension "
"module that implements new types."
msgstr""
"Python 对象系统中最重要的一个结构体也许是定义新类型的结构体: :c:type:`PyTypeObject` 结构体。 类型对象可以使用任何 "
"``PyObject_*`` 或 ``PyType_*`` 函数来处理,但并未提供大多数 Python 应用程序会感兴趣的东西。 "
"这些对象是对象行为的基础,所以它们对解释器本身及任何实现新类型的扩展模块都非常重要。"
#:../../c-api/typeobj.rst:16
msgid""
"Type objects are fairly large compared to most of the standard types. The "
"reason for the size is that each type object stores a large number of "
"values, mostly C function pointers, each of which implements a small part of"
" the type's functionality. The fields of the type object are examined in "
"detail in this section. The fields will be described in the order in which "
"they occur in the structure."
msgstr""
"与大多数标准类型相比,类型对象相当大。这么大的原因是每个类型对象存储了大量的值,大部分是C函数指针,每个指针实现了类型功能的一小部分。本节将详细描述类型对象的字段。这些字段将按照它们在结构中出现的顺序进行描述。"
#:../../c-api/typeobj.rst:23
msgid""
"In addition to the following quick reference, the :ref:`typedef-examples` "
"section provides at-a-glance insight into the meaning and use of "
":c:type:`PyTypeObject`."
msgstr""
"除了下面的快速参考, :ref:`typedef-examples` 小节提供了快速了解 :c:type:`PyTypeObject` "
"的含义和用法的例子。"
#:../../c-api/typeobj.rst:29
msgid"Quick Reference"
msgstr"快速参考"
#:../../c-api/typeobj.rst:34
msgid"\"tp slots\""
msgstr"\"tp 槽位\""
#:../../c-api/typeobj.rst:40
msgid"PyTypeObject Slot [#slots]_"
msgstr"PyTypeObject 槽位 [#slots]_"
#:../../c-api/typeobj.rst:40../../c-api/typeobj.rst:201
msgid":ref:`Type <slot-typedefs-table>`"
msgstr":ref:`类型 <slot-typedefs-table>`"
#:../../c-api/typeobj.rst:40
msgid"special methods/attrs"
msgstr"特殊方法/属性"
#:../../c-api/typeobj.rst:40
msgid"Info [#cols]_"
msgstr"信息 [#cols]_"
#:../../c-api/typeobj.rst:42
msgid"O"
msgstr"O"
#:../../c-api/typeobj.rst:42
msgid"T"
msgstr"T"
#:../../c-api/typeobj.rst:42
msgid"D"
msgstr"D"
#:../../c-api/typeobj.rst:42
msgid"I"
msgstr"I"
#:../../c-api/typeobj.rst:44
msgid"<R> :c:member:`~PyTypeObject.tp_name`"
msgstr"<R> :c:member:`~PyTypeObject.tp_name`"
#:../../c-api/typeobj.rst:0../../c-api/typeobj.rst:44
#:../../c-api/typeobj.rst:86
msgid"const char *"
msgstr"const char *"
#:../../c-api/typeobj.rst:44
msgid"__name__"
msgstr"__name__"
#:../../c-api/typeobj.rst:44../../c-api/typeobj.rst:46
#:../../c-api/typeobj.rst:48../../c-api/typeobj.rst:50
#:../../c-api/typeobj.rst:52../../c-api/typeobj.rst:62
#:../../c-api/typeobj.rst:70../../c-api/typeobj.rst:72
#:../../c-api/typeobj.rst:74../../c-api/typeobj.rst:76
#:../../c-api/typeobj.rst:79../../c-api/typeobj.rst:84
#:../../c-api/typeobj.rst:86../../c-api/typeobj.rst:88
#:../../c-api/typeobj.rst:90../../c-api/typeobj.rst:92
#:../../c-api/typeobj.rst:99../../c-api/typeobj.rst:101
#:../../c-api/typeobj.rst:103../../c-api/typeobj.rst:105
#:../../c-api/typeobj.rst:107../../c-api/typeobj.rst:109
#:../../c-api/typeobj.rst:111../../c-api/typeobj.rst:115
#:../../c-api/typeobj.rst:117../../c-api/typeobj.rst:120
#:../../c-api/typeobj.rst:122../../c-api/typeobj.rst:124
#:../../c-api/typeobj.rst:126../../c-api/typeobj.rst:128
#:../../c-api/typeobj.rst:130../../c-api/typeobj.rst:146
msgid"X"
msgstr"X"
#:../../c-api/typeobj.rst:46
msgid":c:member:`~PyTypeObject.tp_basicsize`"
msgstr":c:member:`~PyTypeObject.tp_basicsize`"
#:../../c-api/typeobj.rst:0../../c-api/typeobj.rst:46
#:../../c-api/typeobj.rst:48../../c-api/typeobj.rst:52
#:../../c-api/typeobj.rst:99../../c-api/typeobj.rst:120
#:../../c-api/typeobj.rst:416
msgid":c:type:`Py_ssize_t`"
msgstr":c:type:`Py_ssize_t`"
#:../../c-api/typeobj.rst:48
msgid":c:member:`~PyTypeObject.tp_itemsize`"
msgstr":c:member:`~PyTypeObject.tp_itemsize`"
#:../../c-api/typeobj.rst:50
msgid":c:member:`~PyTypeObject.tp_dealloc`"
msgstr":c:member:`~PyTypeObject.tp_dealloc`"
#:../../c-api/typeobj.rst:50../../c-api/typeobj.rst:142
#:../../c-api/typeobj.rst:146../../c-api/typeobj.rst:346
msgid":c:type:`destructor`"
msgstr":c:type:`destructor`"
#:../../c-api/typeobj.rst:52
msgid":c:member:`~PyTypeObject.tp_vectorcall_offset`"
msgstr":c:member:`~PyTypeObject.tp_vectorcall_offset`"
#:../../c-api/typeobj.rst:54
msgid"(:c:member:`~PyTypeObject.tp_getattr`)"
msgstr"(:c:member:`~PyTypeObject.tp_getattr`)"
#:../../c-api/typeobj.rst:54../../c-api/typeobj.rst:370
msgid":c:type:`getattrfunc`"
msgstr":c:type:`getattrfunc`"
#:../../c-api/typeobj.rst:54../../c-api/typeobj.rst:76
msgid"__getattribute__, __getattr__"
msgstr"__getattribute__, __getattr__"
#:../../c-api/typeobj.rst:54../../c-api/typeobj.rst:57
#:../../c-api/typeobj.rst:70../../c-api/typeobj.rst:76
#:../../c-api/typeobj.rst:79../../c-api/typeobj.rst:88
#:../../c-api/typeobj.rst:90../../c-api/typeobj.rst:92
msgid"G"
msgstr"G"
#:../../c-api/typeobj.rst:57
msgid"(:c:member:`~PyTypeObject.tp_setattr`)"
msgstr"(:c:member:`~PyTypeObject.tp_setattr`)"
#:../../c-api/typeobj.rst:57../../c-api/typeobj.rst:375
msgid":c:type:`setattrfunc`"
msgstr":c:type:`setattrfunc`"
#:../../c-api/typeobj.rst:57../../c-api/typeobj.rst:79
msgid"__setattr__, __delattr__"
msgstr"__setattr__, __delattr__"
#:../../c-api/typeobj.rst:60
msgid":c:member:`~PyTypeObject.tp_as_async`"
msgstr":c:member:`~PyTypeObject.tp_as_async`"
#:../../c-api/typeobj.rst:60
msgid":c:type:`PyAsyncMethods` *"
msgstr":c:type:`PyAsyncMethods` *"
#:../../c-api/typeobj.rst:60../../c-api/typeobj.rst:64
#:../../c-api/typeobj.rst:66../../c-api/typeobj.rst:68
msgid":ref:`sub-slots`"
msgstr":ref:`sub-slots`"
#:../../c-api/typeobj.rst:60../../c-api/typeobj.rst:64
#:../../c-api/typeobj.rst:66../../c-api/typeobj.rst:68
#:../../c-api/typeobj.rst:82
msgid"%"
msgstr"%"
#:../../c-api/typeobj.rst:62
msgid":c:member:`~PyTypeObject.tp_repr`"
msgstr":c:member:`~PyTypeObject.tp_repr`"
#:../../c-api/typeobj.rst:62../../c-api/typeobj.rst:74
#:../../c-api/typeobj.rst:368
msgid":c:type:`reprfunc`"
msgstr":c:type:`reprfunc`"
#:../../c-api/typeobj.rst:62
msgid"__repr__"
msgstr"__repr__"
#:../../c-api/typeobj.rst:64
msgid":c:member:`~PyTypeObject.tp_as_number`"
msgstr":c:member:`~PyTypeObject.tp_as_number`"
#:../../c-api/typeobj.rst:64
msgid":c:type:`PyNumberMethods` *"
msgstr":c:type:`PyNumberMethods` *"
#:../../c-api/typeobj.rst:66
msgid":c:member:`~PyTypeObject.tp_as_sequence`"
msgstr":c:member:`~PyTypeObject.tp_as_sequence`"
#:../../c-api/typeobj.rst:66
msgid":c:type:`PySequenceMethods` *"
msgstr":c:type:`PySequenceMethods` *"
#:../../c-api/typeobj.rst:68
msgid":c:member:`~PyTypeObject.tp_as_mapping`"
msgstr":c:member:`~PyTypeObject.tp_as_mapping`"
#:../../c-api/typeobj.rst:68
msgid":c:type:`PyMappingMethods` *"
msgstr":c:type:`PyMappingMethods` *"
#:../../c-api/typeobj.rst:70
msgid":c:member:`~PyTypeObject.tp_hash`"
msgstr":c:member:`~PyTypeObject.tp_hash`"
#:../../c-api/typeobj.rst:70../../c-api/typeobj.rst:404
msgid":c:type:`hashfunc`"
msgstr":c:type:`hashfunc`"
#:../../c-api/typeobj.rst:70
msgid"__hash__"
msgstr"__hash__"
#:../../c-api/typeobj.rst:72
msgid":c:member:`~PyTypeObject.tp_call`"
msgstr":c:member:`~PyTypeObject.tp_call`"
#:../../c-api/typeobj.rst:72../../c-api/typeobj.rst:237
#:../../c-api/typeobj.rst:240../../c-api/typeobj.rst:440
msgid":c:type:`ternaryfunc`"
msgstr":c:type:`ternaryfunc`"
#:../../c-api/typeobj.rst:72
msgid"__call__"
msgstr"__call__"
#:../../c-api/typeobj.rst:74
msgid":c:member:`~PyTypeObject.tp_str`"
msgstr":c:member:`~PyTypeObject.tp_str`"
#:../../c-api/typeobj.rst:74
msgid"__str__"
msgstr"__str__"
#:../../c-api/typeobj.rst:76
msgid":c:member:`~PyTypeObject.tp_getattro`"
msgstr":c:member:`~PyTypeObject.tp_getattro`"
#:../../c-api/typeobj.rst:76../../c-api/typeobj.rst:381
msgid":c:type:`getattrofunc`"
msgstr":c:type:`getattrofunc`"
#:../../c-api/typeobj.rst:79
msgid":c:member:`~PyTypeObject.tp_setattro`"
msgstr":c:member:`~PyTypeObject.tp_setattro`"
#:../../c-api/typeobj.rst:79../../c-api/typeobj.rst:386
msgid":c:type:`setattrofunc`"
msgstr":c:type:`setattrofunc`"
#:../../c-api/typeobj.rst:82
msgid":c:member:`~PyTypeObject.tp_as_buffer`"
msgstr":c:member:`~PyTypeObject.tp_as_buffer`"
#:../../c-api/typeobj.rst:82
msgid":c:type:`PyBufferProcs` *"
msgstr":c:type:`PyBufferProcs` *"
#:../../c-api/typeobj.rst:84
msgid":c:member:`~PyTypeObject.tp_flags`"
msgstr":c:member:`~PyTypeObject.tp_flags`"
#:../../c-api/typeobj.rst:84
msgid"unsigned long"
msgstr"unsigned long"
#:../../c-api/typeobj.rst:84../../c-api/typeobj.rst:99
#:../../c-api/typeobj.rst:113../../c-api/typeobj.rst:120
#:../../c-api/typeobj.rst:124../../c-api/typeobj.rst:126
#:../../c-api/typeobj.rst:128
msgid"?"
msgstr"?"
#:../../c-api/typeobj.rst:86
msgid":c:member:`~PyTypeObject.tp_doc`"
msgstr":c:member:`~PyTypeObject.tp_doc`"
#:../../c-api/typeobj.rst:86
msgid"__doc__"
msgstr"__doc__"
#:../../c-api/typeobj.rst:88
msgid":c:member:`~PyTypeObject.tp_traverse`"
msgstr":c:member:`~PyTypeObject.tp_traverse`"
#:../../c-api/typeobj.rst:88../../c-api/typeobj.rst:350
msgid":c:type:`traverseproc`"
msgstr":c:type:`traverseproc`"
#:../../c-api/typeobj.rst:90
msgid":c:member:`~PyTypeObject.tp_clear`"
msgstr":c:member:`~PyTypeObject.tp_clear`"
#:../../c-api/typeobj.rst:90../../c-api/typeobj.rst:130
#:../../c-api/typeobj.rst:248../../c-api/typeobj.rst:429
msgid":c:type:`inquiry`"
msgstr":c:type:`inquiry`"
#:../../c-api/typeobj.rst:92
msgid":c:member:`~PyTypeObject.tp_richcompare`"
msgstr":c:member:`~PyTypeObject.tp_richcompare`"
#:../../c-api/typeobj.rst:92../../c-api/typeobj.rst:406
msgid":c:type:`richcmpfunc`"
msgstr":c:type:`richcmpfunc`"
#:../../c-api/typeobj.rst:92
msgid"__lt__, __le__, __eq__, __ne__, __gt__, __ge__"
msgstr"__lt__, __le__, __eq__, __ne__, __gt__, __ge__"
#:../../c-api/typeobj.rst:99
msgid"(:c:member:`~PyTypeObject.tp_weaklistoffset`)"
msgstr"(:c:member:`~PyTypeObject.tp_weaklistoffset`)"
#:../../c-api/typeobj.rst:101
msgid":c:member:`~PyTypeObject.tp_iter`"
msgstr":c:member:`~PyTypeObject.tp_iter`"
#:../../c-api/typeobj.rst:101../../c-api/typeobj.rst:412
msgid":c:type:`getiterfunc`"
msgstr":c:type:`getiterfunc`"
#:../../c-api/typeobj.rst:101
msgid"__iter__"
msgstr"__iter__"
#:../../c-api/typeobj.rst:103
msgid":c:member:`~PyTypeObject.tp_iternext`"
msgstr":c:member:`~PyTypeObject.tp_iternext`"
#:../../c-api/typeobj.rst:103../../c-api/typeobj.rst:414
msgid":c:type:`iternextfunc`"
msgstr":c:type:`iternextfunc`"
#:../../c-api/typeobj.rst:103
msgid"__next__"
msgstr"__next__"
#:../../c-api/typeobj.rst:105
msgid":c:member:`~PyTypeObject.tp_methods`"
msgstr":c:member:`~PyTypeObject.tp_methods`"
#:../../c-api/typeobj.rst:105
msgid":c:type:`PyMethodDef` []"
msgstr":c:type:`PyMethodDef` []"
#:../../c-api/typeobj.rst:107
msgid":c:member:`~PyTypeObject.tp_members`"
msgstr":c:member:`~PyTypeObject.tp_members`"
#:../../c-api/typeobj.rst:107
msgid":c:type:`PyMemberDef` []"
msgstr":c:type:`PyMemberDef` []"
#:../../c-api/typeobj.rst:109
msgid":c:member:`~PyTypeObject.tp_getset`"
msgstr":c:member:`~PyTypeObject.tp_getset`"
#:../../c-api/typeobj.rst:109
msgid":c:type:`PyGetSetDef` []"
msgstr":c:type:`PyGetSetDef` []"
#:../../c-api/typeobj.rst:111
msgid":c:member:`~PyTypeObject.tp_base`"
msgstr":c:member:`~PyTypeObject.tp_base`"
#:../../c-api/typeobj.rst:0../../c-api/typeobj.rst:111
msgid":c:type:`PyTypeObject` *"
msgstr":c:type:`PyTypeObject` *"
#:../../c-api/typeobj.rst:111
msgid"__base__"
msgstr"__base__"
#:../../c-api/typeobj.rst:113
msgid":c:member:`~PyTypeObject.tp_dict`"
msgstr":c:member:`~PyTypeObject.tp_dict`"
#:../../c-api/typeobj.rst:0../../c-api/typeobj.rst:113
#:../../c-api/typeobj.rst:132../../c-api/typeobj.rst:134
#:../../c-api/typeobj.rst:136../../c-api/typeobj.rst:140
#:../../c-api/typeobj.rst:341../../c-api/typeobj.rst:346
#:../../c-api/typeobj.rst:356../../c-api/typeobj.rst:368
#:../../c-api/typeobj.rst:370../../c-api/typeobj.rst:381
#:../../c-api/typeobj.rst:392../../c-api/typeobj.rst:404
#:../../c-api/typeobj.rst:406../../c-api/typeobj.rst:412
#:../../c-api/typeobj.rst:414../../c-api/typeobj.rst:416
#:../../c-api/typeobj.rst:429../../c-api/typeobj.rst:431
#:../../c-api/typeobj.rst:435../../c-api/typeobj.rst:440
#:../../c-api/typeobj.rst:446
msgid":c:type:`PyObject` *"
msgstr":c:type:`PyObject` *"
#:../../c-api/typeobj.rst:113
msgid"__dict__"
msgstr"__dict__"
#:../../c-api/typeobj.rst:115
msgid":c:member:`~PyTypeObject.tp_descr_get`"
msgstr":c:member:`~PyTypeObject.tp_descr_get`"
#:../../c-api/typeobj.rst:115../../c-api/typeobj.rst:392
msgid":c:type:`descrgetfunc`"
msgstr":c:type:`descrgetfunc`"
#:../../c-api/typeobj.rst:115
msgid"__get__"
msgstr"__get__"
#:../../c-api/typeobj.rst:117
msgid":c:member:`~PyTypeObject.tp_descr_set`"
msgstr":c:member:`~PyTypeObject.tp_descr_set`"
#:../../c-api/typeobj.rst:117../../c-api/typeobj.rst:398
msgid":c:type:`descrsetfunc`"
msgstr":c:type:`descrsetfunc`"
#:../../c-api/typeobj.rst:117
msgid"__set__, __delete__"
msgstr"__set__, __delete__"
#:../../c-api/typeobj.rst:120
msgid"(:c:member:`~PyTypeObject.tp_dictoffset`)"
msgstr"(:c:member:`~PyTypeObject.tp_dictoffset`)"
#:../../c-api/typeobj.rst:122
msgid":c:member:`~PyTypeObject.tp_init`"
msgstr":c:member:`~PyTypeObject.tp_init`"
#:../../c-api/typeobj.rst:122../../c-api/typeobj.rst:362
msgid":c:type:`initproc`"
msgstr":c:type:`initproc`"
#:../../c-api/typeobj.rst:122
msgid"__init__"
msgstr"__init__"
#:../../c-api/typeobj.rst:124
msgid":c:member:`~PyTypeObject.tp_alloc`"
msgstr":c:member:`~PyTypeObject.tp_alloc`"
#:../../c-api/typeobj.rst:124../../c-api/typeobj.rst:341
msgid":c:type:`allocfunc`"
msgstr":c:type:`allocfunc`"
#:../../c-api/typeobj.rst:126
msgid":c:member:`~PyTypeObject.tp_new`"
msgstr":c:member:`~PyTypeObject.tp_new`"
#:../../c-api/typeobj.rst:126../../c-api/typeobj.rst:356
msgid":c:type:`newfunc`"
msgstr":c:type:`newfunc`"
#:../../c-api/typeobj.rst:126
msgid"__new__"
msgstr"__new__"
#:../../c-api/typeobj.rst:128
msgid":c:member:`~PyTypeObject.tp_free`"
msgstr":c:member:`~PyTypeObject.tp_free`"
#:../../c-api/typeobj.rst:128../../c-api/typeobj.rst:348
msgid":c:type:`freefunc`"
msgstr":c:type:`freefunc`"
#:../../c-api/typeobj.rst:130
msgid":c:member:`~PyTypeObject.tp_is_gc`"
msgstr":c:member:`~PyTypeObject.tp_is_gc`"
#:../../c-api/typeobj.rst:132
msgid"<:c:member:`~PyTypeObject.tp_bases`>"
msgstr"<:c:member:`~PyTypeObject.tp_bases`>"
#:../../c-api/typeobj.rst:132
msgid"__bases__"
msgstr"__bases__"
#:../../c-api/typeobj.rst:132../../c-api/typeobj.rst:134
msgid"~"
msgstr"~"
#:../../c-api/typeobj.rst:134
msgid"<:c:member:`~PyTypeObject.tp_mro`>"
msgstr"<:c:member:`~PyTypeObject.tp_mro`>"
#:../../c-api/typeobj.rst:134
msgid"__mro__"
msgstr"__mro__"
#:../../c-api/typeobj.rst:136
msgid"[:c:member:`~PyTypeObject.tp_cache`]"
msgstr"[:c:member:`~PyTypeObject.tp_cache`]"
#:../../c-api/typeobj.rst:138
msgid"[:c:member:`~PyTypeObject.tp_subclasses`]"
msgstr"[:c:member:`~PyTypeObject.tp_subclasses`]"
#:../../c-api/typeobj.rst:0../../c-api/typeobj.rst:138
#:../../c-api/typeobj.rst:279../../c-api/typeobj.rst:348
msgid"void *"
msgstr"void *"
#:../../c-api/typeobj.rst:138
msgid"__subclasses__"
msgstr"__subclasses__"
#:../../c-api/typeobj.rst:140
msgid"[:c:member:`~PyTypeObject.tp_weaklist`]"
msgstr"[:c:member:`~PyTypeObject.tp_weaklist`]"
#:../../c-api/typeobj.rst:142
msgid"(:c:member:`~PyTypeObject.tp_del`)"
msgstr"(:c:member:`~PyTypeObject.tp_del`)"
#:../../c-api/typeobj.rst:144
msgid"[:c:member:`~PyTypeObject.tp_version_tag`]"
msgstr"[:c:member:`~PyTypeObject.tp_version_tag`]"
#:../../c-api/typeobj.rst:144
msgid"unsigned int"
msgstr"unsigned int"
#:../../c-api/typeobj.rst:146
msgid":c:member:`~PyTypeObject.tp_finalize`"
msgstr":c:member:`~PyTypeObject.tp_finalize`"
#:../../c-api/typeobj.rst:146
msgid"__del__"
msgstr"__del__"
#:../../c-api/typeobj.rst:148
msgid":c:member:`~PyTypeObject.tp_vectorcall`"
msgstr":c:member:`~PyTypeObject.tp_vectorcall`"
#:../../c-api/typeobj.rst:148
msgid":c:type:`vectorcallfunc`"
msgstr":c:type:`vectorcallfunc`"
#:../../c-api/typeobj.rst:150
msgid"[:c:member:`~PyTypeObject.tp_watched`]"
msgstr"[:c:member:`~PyTypeObject.tp_watched`]"
#:../../c-api/typeobj.rst:150
msgid"unsigned char"
msgstr"unsigned char"
#:../../c-api/typeobj.rst:155
msgid""
"**()**: A slot name in parentheses indicates it is (effectively) deprecated."
msgstr"**()**:括号中的插槽名称表示(实际上)已弃用。"
#:../../c-api/typeobj.rst:157
msgid""
"**<>**: Names in angle brackets should be initially set to ``NULL`` and "
"treated as read-only."
msgstr"**<>**: 尖括号内的名称在初始时应设为 ``NULL`` 并被视为是只读的。"
#:../../c-api/typeobj.rst:160
msgid"**[]**: Names in square brackets are for internal use only."
msgstr"**[]**: 方括号内的名称仅供内部使用。"
#:../../c-api/typeobj.rst:162
msgid""
"**<R>** (as a prefix) means the field is required (must be non-``NULL``)."
msgstr"**<R>** (作为前缀) 表示字段是必需的 (不能是 ``NULL``)。"
#:../../c-api/typeobj.rst:164
msgid"Columns:"
msgstr"列:"
#:../../c-api/typeobj.rst:166
msgid"**\"O\"**: set on :c:data:`PyBaseObject_Type`"
msgstr"**\"O\"**: 在 :c:data:`PyBaseObject_Type` 上设置"
#:../../c-api/typeobj.rst:168
msgid"**\"T\"**: set on :c:data:`PyType_Type`"
msgstr"**\"T\"**: 在 :c:data:`PyType_Type` 上设置"
#:../../c-api/typeobj.rst:170
msgid"**\"D\"**: default (if slot is set to ``NULL``)"
msgstr"**\"D\"**: 默认设置(如果方法槽被设置为NULL)"
#:../../c-api/typeobj.rst:172
msgid""
"X - PyType_Ready sets this value if it is NULL\n"
"~ - PyType_Ready always sets this value (it should be NULL)\n"
"? - PyType_Ready may set this value depending on other slots\n"
"\n"
"Also see the inheritance column (\"I\")."
msgstr""
"X - PyType_Ready 如其为 NULL 则设置该值\n"
"~ - PyType_Ready 始终设置该值 (它应当为 NULL)\n"
"? - PyType_Ready 根据其他槽位可能设置该值\n"
"\n"
"另请参阅继承列 (\"I\")。"
#:../../c-api/typeobj.rst:180
msgid"**\"I\"**: inheritance"
msgstr"**\"I\"**: 继承"
#:../../c-api/typeobj.rst:182
msgid""
"X - type slot is inherited via *PyType_Ready* if defined with a *NULL* value\n"
"% - the slots of the sub-struct are inherited individually\n"
"G - inherited, but only in combination with other slots; see the slot's description\n"
"? - it's complicated; see the slot's description"
msgstr""
"X - 如果使用 *NULL* 值定义则类型槽位将通过 *PyType_Ready* 继承\n"
"% - 子结构体的槽位是单独继承的\n"
"G - 已继承,但仅会与其他槽位相结合;参见槽位的说明\n"
"? - 较复杂;参见槽位的说明"
#:../../c-api/typeobj.rst:189
msgid""
"Note that some slots are effectively inherited through the normal attribute "
"lookup chain."
msgstr"注意,有些方法槽是通过普通属性查找链有效继承的。"
#:../../c-api/typeobj.rst:195
msgid"sub-slots"
msgstr"子槽位"
#:../../c-api/typeobj.rst:201
msgid"Slot"
msgstr"槽位"
#:../../c-api/typeobj.rst:201
msgid"special methods"
msgstr"特殊方法"
#:../../c-api/typeobj.rst:204
msgid":c:member:`~PyAsyncMethods.am_await`"
msgstr":c:member:`~PyAsyncMethods.am_await`"
#:../../c-api/typeobj.rst:204../../c-api/typeobj.rst:206
#:../../c-api/typeobj.rst:208../../c-api/typeobj.rst:242
#:../../c-api/typeobj.rst:244../../c-api/typeobj.rst:246
#:../../c-api/typeobj.rst:250../../c-api/typeobj.rst:277
#:../../c-api/typeobj.rst:281../../c-api/typeobj.rst:291
#:../../c-api/typeobj.rst:431
msgid":c:type:`unaryfunc`"
msgstr":c:type:`unaryfunc`"
#:../../c-api/typeobj.rst:204
msgid"__await__"
msgstr"__await__"
#:../../c-api/typeobj.rst:206
msgid":c:member:`~PyAsyncMethods.am_aiter`"
msgstr":c:member:`~PyAsyncMethods.am_aiter`"
#:../../c-api/typeobj.rst:206
msgid"__aiter__"
msgstr"__aiter__"
#:../../c-api/typeobj.rst:208
msgid":c:member:`~PyAsyncMethods.am_anext`"
msgstr":c:member:`~PyAsyncMethods.am_anext`"
#:../../c-api/typeobj.rst:208
msgid"__anext__"
msgstr"__anext__"
#:../../c-api/typeobj.rst:210
msgid":c:member:`~PyAsyncMethods.am_send`"
msgstr":c:member:`~PyAsyncMethods.am_send`"
#:../../c-api/typeobj.rst:210
msgid":c:type:`sendfunc`"
msgstr":c:type:`sendfunc`"
#:../../c-api/typeobj.rst:214
msgid":c:member:`~PyNumberMethods.nb_add`"
msgstr":c:member:`~PyNumberMethods.nb_add`"
#:../../c-api/typeobj.rst:214../../c-api/typeobj.rst:217
#:../../c-api/typeobj.rst:219../../c-api/typeobj.rst:222
#:../../c-api/typeobj.rst:224../../c-api/typeobj.rst:227
#:../../c-api/typeobj.rst:229../../c-api/typeobj.rst:232
#:../../c-api/typeobj.rst:234../../c-api/typeobj.rst:252
#:../../c-api/typeobj.rst:255../../c-api/typeobj.rst:257
#:../../c-api/typeobj.rst:260../../c-api/typeobj.rst:262
#:../../c-api/typeobj.rst:265../../c-api/typeobj.rst:267
#:../../c-api/typeobj.rst:270../../c-api/typeobj.rst:272
#:../../c-api/typeobj.rst:275../../c-api/typeobj.rst:283
#:../../c-api/typeobj.rst:285../../c-api/typeobj.rst:287
#:../../c-api/typeobj.rst:289../../c-api/typeobj.rst:293
#:../../c-api/typeobj.rst:296../../c-api/typeobj.rst:302
#:../../c-api/typeobj.rst:311../../c-api/typeobj.rst:322
#:../../c-api/typeobj.rst:435
msgid":c:type:`binaryfunc`"
msgstr":c:type:`binaryfunc`"
#:../../c-api/typeobj.rst:214
msgid"__add__ __radd__"
msgstr"__add__ __radd__"
#:../../c-api/typeobj.rst:217
msgid":c:member:`~PyNumberMethods.nb_inplace_add`"
msgstr":c:member:`~PyNumberMethods.nb_inplace_add`"
#:../../c-api/typeobj.rst:217../../c-api/typeobj.rst:322
msgid"__iadd__"
msgstr"__iadd__"
#:../../c-api/typeobj.rst:219
msgid":c:member:`~PyNumberMethods.nb_subtract`"
msgstr":c:member:`~PyNumberMethods.nb_subtract`"
#:../../c-api/typeobj.rst:219
msgid"__sub__ __rsub__"
msgstr"__sub__ __rsub__"
#:../../c-api/typeobj.rst:222
msgid":c:member:`~PyNumberMethods.nb_inplace_subtract`"
msgstr":c:member:`~PyNumberMethods.nb_inplace_subtract`"
#:../../c-api/typeobj.rst:222
msgid"__isub__"
msgstr"__isub__"
#:../../c-api/typeobj.rst:224
msgid":c:member:`~PyNumberMethods.nb_multiply`"
msgstr":c:member:`~PyNumberMethods.nb_multiply`"
#:../../c-api/typeobj.rst:224
msgid"__mul__ __rmul__"
msgstr"__mul__ __rmul__"
#:../../c-api/typeobj.rst:227
msgid":c:member:`~PyNumberMethods.nb_inplace_multiply`"
msgstr":c:member:`~PyNumberMethods.nb_inplace_multiply`"
#:../../c-api/typeobj.rst:227../../c-api/typeobj.rst:324
msgid"__imul__"
msgstr"__imul__"
#:../../c-api/typeobj.rst:229
msgid":c:member:`~PyNumberMethods.nb_remainder`"
msgstr":c:member:`~PyNumberMethods.nb_remainder`"
#:../../c-api/typeobj.rst:229
msgid"__mod__ __rmod__"
msgstr"__mod__ __rmod__"
#:../../c-api/typeobj.rst:232
msgid":c:member:`~PyNumberMethods.nb_inplace_remainder`"
msgstr":c:member:`~PyNumberMethods.nb_inplace_remainder`"
#:../../c-api/typeobj.rst:232
msgid"__imod__"
msgstr"__imod__"
#:../../c-api/typeobj.rst:234
msgid":c:member:`~PyNumberMethods.nb_divmod`"
msgstr":c:member:`~PyNumberMethods.nb_divmod`"
#:../../c-api/typeobj.rst:234
msgid"__divmod__ __rdivmod__"
msgstr"__divmod__ __rdivmod__"
#:../../c-api/typeobj.rst:237
msgid":c:member:`~PyNumberMethods.nb_power`"
msgstr":c:member:`~PyNumberMethods.nb_power`"
#:../../c-api/typeobj.rst:237
msgid"__pow__ __rpow__"
msgstr"__pow__ __rpow__"
#:../../c-api/typeobj.rst:240
msgid":c:member:`~PyNumberMethods.nb_inplace_power`"
msgstr":c:member:`~PyNumberMethods.nb_inplace_power`"
#:../../c-api/typeobj.rst:240
msgid"__ipow__"
msgstr"__ipow__"
#:../../c-api/typeobj.rst:242
msgid":c:member:`~PyNumberMethods.nb_negative`"
msgstr":c:member:`~PyNumberMethods.nb_negative`"
#:../../c-api/typeobj.rst:242
msgid"__neg__"
msgstr"__neg__"
#:../../c-api/typeobj.rst:244
msgid":c:member:`~PyNumberMethods.nb_positive`"
msgstr":c:member:`~PyNumberMethods.nb_positive`"
#:../../c-api/typeobj.rst:244
msgid"__pos__"
msgstr"__pos__"
#:../../c-api/typeobj.rst:246
msgid":c:member:`~PyNumberMethods.nb_absolute`"
msgstr":c:member:`~PyNumberMethods.nb_absolute`"
#:../../c-api/typeobj.rst:246
msgid"__abs__"
msgstr"__abs__"
#:../../c-api/typeobj.rst:248
msgid":c:member:`~PyNumberMethods.nb_bool`"
msgstr":c:member:`~PyNumberMethods.nb_bool`"
#:../../c-api/typeobj.rst:248
msgid"__bool__"
msgstr"__bool__"
#:../../c-api/typeobj.rst:250
msgid":c:member:`~PyNumberMethods.nb_invert`"
msgstr":c:member:`~PyNumberMethods.nb_invert`"
#:../../c-api/typeobj.rst:250
msgid"__invert__"
msgstr"__invert__"
#:../../c-api/typeobj.rst:252
msgid":c:member:`~PyNumberMethods.nb_lshift`"
msgstr":c:member:`~PyNumberMethods.nb_lshift`"
#:../../c-api/typeobj.rst:252
msgid"__lshift__ __rlshift__"
msgstr"__lshift__ __rlshift__"
#:../../c-api/typeobj.rst:255
msgid":c:member:`~PyNumberMethods.nb_inplace_lshift`"
msgstr":c:member:`~PyNumberMethods.nb_inplace_lshift`"
#:../../c-api/typeobj.rst:255
msgid"__ilshift__"
msgstr"__ilshift__"
#:../../c-api/typeobj.rst:257
msgid":c:member:`~PyNumberMethods.nb_rshift`"
msgstr":c:member:`~PyNumberMethods.nb_rshift`"
#:../../c-api/typeobj.rst:257
msgid"__rshift__ __rrshift__"
msgstr"__rshift__ __rrshift__"
#:../../c-api/typeobj.rst:260
msgid":c:member:`~PyNumberMethods.nb_inplace_rshift`"
msgstr":c:member:`~PyNumberMethods.nb_inplace_rshift`"
#:../../c-api/typeobj.rst:260
msgid"__irshift__"
msgstr"__irshift__"
#:../../c-api/typeobj.rst:262
msgid":c:member:`~PyNumberMethods.nb_and`"
msgstr":c:member:`~PyNumberMethods.nb_and`"
#:../../c-api/typeobj.rst:262
msgid"__and__ __rand__"
msgstr"__and__ __rand__"
#:../../c-api/typeobj.rst:265
msgid":c:member:`~PyNumberMethods.nb_inplace_and`"
msgstr":c:member:`~PyNumberMethods.nb_inplace_and`"
#:../../c-api/typeobj.rst:265
msgid"__iand__"
msgstr"__iand__"
#:../../c-api/typeobj.rst:267
msgid":c:member:`~PyNumberMethods.nb_xor`"
msgstr":c:member:`~PyNumberMethods.nb_xor`"
#:../../c-api/typeobj.rst:267
msgid"__xor__ __rxor__"
msgstr"__xor__ __rxor__"
#:../../c-api/typeobj.rst:270
msgid":c:member:`~PyNumberMethods.nb_inplace_xor`"
msgstr":c:member:`~PyNumberMethods.nb_inplace_xor`"
#:../../c-api/typeobj.rst:270
msgid"__ixor__"
msgstr"__ixor__"
#:../../c-api/typeobj.rst:272
msgid":c:member:`~PyNumberMethods.nb_or`"
msgstr":c:member:`~PyNumberMethods.nb_or`"
#:../../c-api/typeobj.rst:272
msgid"__or__ __ror__"
msgstr"__or__ __ror__"
#:../../c-api/typeobj.rst:275
msgid":c:member:`~PyNumberMethods.nb_inplace_or`"
msgstr":c:member:`~PyNumberMethods.nb_inplace_or`"
#:../../c-api/typeobj.rst:275
msgid"__ior__"
msgstr"__ior__"
#:../../c-api/typeobj.rst:277
msgid":c:member:`~PyNumberMethods.nb_int`"
msgstr":c:member:`~PyNumberMethods.nb_int`"
#:../../c-api/typeobj.rst:277
msgid"__int__"
msgstr"__int__"
#:../../c-api/typeobj.rst:279
msgid":c:member:`~PyNumberMethods.nb_reserved`"
msgstr":c:member:`~PyNumberMethods.nb_reserved`"
#:../../c-api/typeobj.rst:281
msgid":c:member:`~PyNumberMethods.nb_float`"
msgstr":c:member:`~PyNumberMethods.nb_float`"
#:../../c-api/typeobj.rst:281
msgid"__float__"
msgstr"__float__"
#:../../c-api/typeobj.rst:283
msgid":c:member:`~PyNumberMethods.nb_floor_divide`"
msgstr":c:member:`~PyNumberMethods.nb_floor_divide`"
#:../../c-api/typeobj.rst:283
msgid"__floordiv__"
msgstr"__floordiv__"
#:../../c-api/typeobj.rst:285
msgid":c:member:`~PyNumberMethods.nb_inplace_floor_divide`"
msgstr":c:member:`~PyNumberMethods.nb_inplace_floor_divide`"
#:../../c-api/typeobj.rst:285
msgid"__ifloordiv__"
msgstr"__ifloordiv__"
#:../../c-api/typeobj.rst:287
msgid":c:member:`~PyNumberMethods.nb_true_divide`"
msgstr":c:member:`~PyNumberMethods.nb_true_divide`"
#:../../c-api/typeobj.rst:287
msgid"__truediv__"
msgstr"__truediv__"
#:../../c-api/typeobj.rst:289
msgid":c:member:`~PyNumberMethods.nb_inplace_true_divide`"
msgstr":c:member:`~PyNumberMethods.nb_inplace_true_divide`"
#:../../c-api/typeobj.rst:289
msgid"__itruediv__"
msgstr"__itruediv__"
#:../../c-api/typeobj.rst:291
msgid":c:member:`~PyNumberMethods.nb_index`"
msgstr":c:member:`~PyNumberMethods.nb_index`"