-
Notifications
You must be signed in to change notification settings - Fork 0
/
contents.html
3664 lines (3649 loc) · 404 KB
/
contents.html
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Python Documentation contents — Python 2.7.14 ドキュメント</title>
<link rel="stylesheet" href="_static/classic.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '2.7.14',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt'
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="_static/translations.js"></script>
<script type="text/javascript" src="_static/sidebar.js"></script>
<link rel="search" type="application/opensearchdescription+xml"
title="Python 2.7.14 ドキュメント 内を検索"
href="_static/opensearch.xml"/>
<link rel="author" title="このドキュメントについて" href="about.html" />
<link rel="index" title="索引" href="genindex.html" />
<link rel="search" title="検索" href="search.html" />
<link rel="copyright" title="Copyright" href="copyright.html" />
<link rel="next" title="What’s New in Python" href="whatsnew/index.html" />
<link rel="shortcut icon" type="image/png" href="_static/py.png" />
<link rel="canonical" href="https://docs.python.jp/3/contents.html" />
<script type="text/javascript" src="_static/copybutton.js"></script>
<script type="text/javascript" src="_static/_jp.js"></script>
<script type="text/javascript" src="_static/version_switch.js"></script>
</head>
<body>
<div class="related" role="navigation" aria-label="related navigation">
<h3>ナビゲーション</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="総索引"
accesskey="I">索引</a></li>
<li class="right" >
<a href="py-modindex.html" title="Pythonモジュール索引"
>モジュール</a> |</li>
<li class="right" >
<a href="whatsnew/index.html" title="What’s New in Python"
accesskey="N">次へ</a> |</li>
<li><img src="_static/py.png" alt=""
style="vertical-align: middle; margin-top: -1px"/></li>
<li><a href="http://www.python.jp/">Python</a> »</li>
<li>
<span class="version_switcher_placeholder">2.7.14</span>
<a href="index.html">ドキュメント</a> »
</li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="python-documentation-contents">
<h1>Python Documentation contents<a class="headerlink" href="#python-documentation-contents" title="このヘッドラインへのパーマリンク">¶</a></h1>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="whatsnew/index.html">What’s New in Python</a><ul>
<li class="toctree-l2"><a class="reference internal" href="whatsnew/2.7.html">What’s New in Python 2.7</a><ul>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.7.html#the-future-for-python-2-x">Python 2.x の今後</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.7.html#changes-to-the-handling-of-deprecation-warnings">Deprecation Warnings の扱いの変更</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.7.html#python-3-1-features">Python 3.1 の機能</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.7.html#pep-372-adding-an-ordered-dictionary-to-collections">PEP 372: collections に順序付き辞書を追加</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.7.html#pep-378-format-specifier-for-thousands-separator">PEP 378: 1000区切りのための書式指定子</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.7.html#pep-389-the-argparse-module-for-parsing-command-lines">PEP 389: コマンドライン解析のための argparse モジュール</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.7.html#pep-391-dictionary-based-configuration-for-logging">PEP 391: logging の辞書ベースの設定</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.7.html#pep-3106-dictionary-views">PEP 3106: 辞書 View</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.7.html#pep-3137-the-memoryview-object">PEP 3137: memoryview オブジェクト</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.7.html#other-language-changes">その他の言語の変更</a><ul>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.7.html#interpreter-changes">インタプリタの変更</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.7.html#optimizations">最適化</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.7.html#new-and-improved-modules">新しいモジュールと改良されたモジュール</a><ul>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.7.html#new-module-importlib">新しいモジュール: importlib</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.7.html#new-module-sysconfig">新しいモジュール: sysconfig</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.7.html#ttk-themed-widgets-for-tk">ttk: Tk のテーマ付きウィジェット</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.7.html#updated-module-unittest">更新されたモジュール: unittest</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.7.html#updated-module-elementtree-1-3">更新されたモジュール: ElementTree 1.3</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.7.html#build-and-c-api-changes">ビルドならびに C API の変更</a><ul>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.7.html#capsules">カプセル</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.7.html#port-specific-changes-windows">ポート特有の変更: Windows</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.7.html#port-specific-changes-mac-os-x">ポート特有の変更: Mac OS X</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.7.html#port-specific-changes-freebsd">ポート特有の変更: FreeBSD</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.7.html#other-changes-and-fixes">その他の変更と修正</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.7.html#porting-to-python-2-7">Python 2.7 への移植</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.7.html#new-features-added-to-python-2-7-maintenance-releases">Python 2.7 メンテナンスリリースで追加された新機能</a><ul>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.7.html#two-new-environment-variables-for-debug-mode">Two new environment variables for debug mode</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.7.html#pep-434-idle-enhancement-exception-for-all-branches">PEP 434: IDLE 拡張についての全てのブランチにおける例外的な扱い</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.7.html#pep-466-network-security-enhancements-for-python-2-7">PEP 466: Python 2.7 のためのネットワークセキュリティ拡張</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.7.html#pep-477-backport-ensurepip-pep-453-to-python-2-7">PEP 477: Python 2.7 への ensurepip (PEP 453) バックポート</a><ul>
<li class="toctree-l5"><a class="reference internal" href="whatsnew/2.7.html#bootstrapping-pip-by-default">デフォルトでの pip のブートストラッピング</a></li>
<li class="toctree-l5"><a class="reference internal" href="whatsnew/2.7.html#documentation-changes">ドキュメントの変更</a></li>
</ul>
</li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.7.html#pep-476-enabling-certificate-verification-by-default-for-stdlib-http-clients">PEP 476: stdlib http クライアントが証明書の検証を行うのをデフォルトで有効化</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.7.html#pep-493-https-verification-migration-tools-for-python-2-7">PEP 493: HTTPS verification migration tools for Python 2.7</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.7.html#acknowledgements">謝辞</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="whatsnew/2.6.html">What’s New in Python 2.6</a><ul>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.6.html#python-3-0">Python 3.0</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.6.html#changes-to-the-development-process">開発プロセスに関する変更</a><ul>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.6.html#new-issue-tracker-roundup">新しい課題トラッカー: Roundup</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.6.html#new-documentation-format-restructuredtext-using-sphinx">新しいドキュメンテーションフォーマット: Sphinx を使っての reStructuredText</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.6.html#pep-343-the-with-statement">PEP 343: "with" ステートメント</a><ul>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.6.html#writing-context-managers">コンテキストマネージャを書く</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.6.html#the-contextlib-module">contextlib モジュール</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.6.html#pep-366-explicit-relative-imports-from-a-main-module">PEP 366: メインモジュールからの明示的相対インポート</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.6.html#pep-370-per-user-site-packages-directory">PEP 370: ユーザごとの <code class="docutils literal"><span class="pre">site-packages</span></code> ディレクトリ</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.6.html#pep-371-the-multiprocessing-package">PEP 371: <code class="docutils literal"><span class="pre">multiprocessing</span></code> パッケージ</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.6.html#pep-3101-advanced-string-formatting"><strong>PEP 3101</strong>: 進化版文字列フォーマッティング</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.6.html#pep-3105-print-as-a-function">PEP 3105: <code class="docutils literal"><span class="pre">print</span></code> を関数にする</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.6.html#pep-3110-exception-handling-changes">PEP 3110: 例外処理の変更</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.6.html#pep-3112-byte-literals">PEP 3112: バイトリテラル</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.6.html#pep-3116-new-i-o-library">PEP 3116: 新しい I/O ライブラリ</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.6.html#pep-3118-revised-buffer-protocol">PEP 3118: 改訂版バッファプロトコル</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.6.html#pep-3119-abstract-base-classes">PEP 3119: 抽象基底クラス</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.6.html#pep-3127-integer-literal-support-and-syntax">PEP 3127: 整数リテラルのサポートと文法</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.6.html#pep-3129-class-decorators">PEP 3129: クラスデコレータ</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.6.html#pep-3141-a-type-hierarchy-for-numbers">PEP 3141: 数値の型階層</a><ul>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.6.html#the-fractions-module"><code class="docutils literal"><span class="pre">fractions</span></code> モジュール</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.6.html#other-language-changes">その他の言語の変更</a><ul>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.6.html#optimizations">最適化</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.6.html#interpreter-changes">インタプリタの変更</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.6.html#new-and-improved-modules">新しいモジュールと改良されたモジュール</a><ul>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.6.html#the-ast-module"><code class="docutils literal"><span class="pre">ast</span></code> モジュール</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.6.html#the-future-builtins-module"><code class="docutils literal"><span class="pre">future_builtins</span></code> モジュール</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.6.html#the-json-module-javascript-object-notation"><code class="docutils literal"><span class="pre">json</span></code> モジュール: JavaScript オブジェクト記法</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.6.html#the-plistlib-module-a-property-list-parser"><code class="docutils literal"><span class="pre">plistlib</span></code> モジュール: プロパティリストパーサ</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.6.html#ctypes-enhancements">ctypes の強化</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.6.html#improved-ssl-support">SSL サポートの改善</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.6.html#deprecations-and-removals">非推奨と削除</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.6.html#build-and-c-api-changes">ビルドならびに C API の変更</a><ul>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.6.html#port-specific-changes-windows">ポート特有の変更: Windows</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.6.html#port-specific-changes-mac-os-x">ポート特有の変更: Mac OS X</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.6.html#port-specific-changes-irix">ポート特有の変更: IRIX</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.6.html#porting-to-python-2-6">Python 2.6 への移植</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.6.html#acknowledgements">謝辞</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="whatsnew/2.5.html">What’s New in Python 2.5</a><ul>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.5.html#pep-308-conditional-expressions">PEP 308: 条件式 (Conditional Expressions)</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.5.html#pep-309-partial-function-application">PEP 309: 関数の部分適用</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.5.html#pep-314-metadata-for-python-software-packages-v1-1">PEP 314: Metadata for Python Software Packages v1.1</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.5.html#pep-328-absolute-and-relative-imports">PEP 328: 絶対インポート、相対インポート</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.5.html#pep-338-executing-modules-as-scripts">PEP 338 - モジュールをスクリプトとして実行する</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.5.html#pep-341-unified-try-except-finally">PEP 341: try/except/finally の一体化</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.5.html#pep-342-new-generator-features">PEP 342: ジェネレータの新機能</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.5.html#pep-343-the-with-statement">PEP 343: "with" ステートメント</a><ul>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.5.html#writing-context-managers">コンテキストマネージャを書く</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.5.html#the-contextlib-module">contextlib モジュール</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.5.html#pep-352-exceptions-as-new-style-classes">PEP 352: 例外の新スタイルクラス化</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.5.html#pep-353-using-ssize-t-as-the-index-type">PEP 353: 添え字型に ssize_t を使う</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.5.html#pep-357-the-index-method">PEP 357: '__index__' メソッド</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.5.html#other-language-changes">その他の言語の変更</a><ul>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.5.html#interactive-interpreter-changes">対話的なインタプリタの変更</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.5.html#optimizations">最適化</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.5.html#new-improved-and-removed-modules">新たなモジュール、改良されたモジュール、削除されたモジュール</a><ul>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.5.html#the-ctypes-package">ctypes パッケージ</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.5.html#the-elementtree-package">ElementTree パッケージ</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.5.html#the-hashlib-package">hashlib パッケージ</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.5.html#the-sqlite3-package">sqlite3 パッケージ</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.5.html#the-wsgiref-package">wsgiref パッケージ</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.5.html#build-and-c-api-changes">ビルドならびに C API の変更</a><ul>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.5.html#port-specific-changes">ポート特有の変更</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.5.html#porting-to-python-2-5">Python 2.5 への移植</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.5.html#acknowledgements">謝辞</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="whatsnew/2.4.html">What’s New in Python 2.4</a><ul>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.4.html#pep-218-built-in-set-objects">PEP 218: ビルトインの集合オブジェクト</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.4.html#pep-237-unifying-long-integers-and-integers">PEP 237: 長整数と整数を一体化していく</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.4.html#pep-289-generator-expressions">PEP 289: ジェネレータ式</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.4.html#pep-292-simpler-string-substitutions">PEP 292: より単純な文字列置換 (string substitution)</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.4.html#pep-318-decorators-for-functions-and-methods">PEP 318: 関数とメソッドのためのデコレータ</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.4.html#pep-322-reverse-iteration">PEP 322: 逆順のイテレーション</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.4.html#pep-324-new-subprocess-module">PEP 324: 新しい subprocess モジュール</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.4.html#pep-327-decimal-data-type">PEP 327: Decimal データ型</a><ul>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.4.html#why-is-decimal-needed">なぜ Decimal が必要なのか?</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.4.html#the-decimal-type"><code class="docutils literal"><span class="pre">Decimal</span></code> 型</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.4.html#the-context-type"><code class="docutils literal"><span class="pre">Context</span></code> 型</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.4.html#pep-328-multi-line-imports">PEP 328: マルチラインインポート</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.4.html#pep-331-locale-independent-float-string-conversions">PEP 331: Locale に依存しない Float/String 変換</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.4.html#other-language-changes">その他の言語の変更</a><ul>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.4.html#optimizations">最適化</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.4.html#new-improved-and-deprecated-modules">新たなモジュール、改良されたモジュール、非推奨のモジュール</a><ul>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.4.html#cookielib">cookielib</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.4.html#doctest">doctest</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.4.html#build-and-c-api-changes">ビルドならびに C API の変更</a><ul>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.4.html#port-specific-changes">ポート特有の変更</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.4.html#porting-to-python-2-4">Python 2.4 への移植</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.4.html#acknowledgements">謝辞</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="whatsnew/2.3.html">What’s New in Python 2.3</a><ul>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.3.html#pep-218-a-standard-set-datatype">PEP 218: 標準の集合データ型</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.3.html#pep-255-simple-generators">PEP 255: 単純なジェネレータ</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.3.html#pep-263-source-code-encodings">PEP 263: ソースコードのエンコーディング</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.3.html#pep-273-importing-modules-from-zip-archives">PEP 273: Zip アーカイブからモジュールをインポートする</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.3.html#pep-277-unicode-file-name-support-for-windows-nt">PEP 277: Windows NT での Unicode ファイル名サポート</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.3.html#pep-278-universal-newline-support">PEP 278: Universal Newline サポート</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.3.html#pep-279-enumerate">PEP 279: enumerate()</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.3.html#pep-282-the-logging-package">PEP 282: ロギングパッケージ</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.3.html#pep-285-a-boolean-type">PEP 285: Boolean 型</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.3.html#pep-293-codec-error-handling-callbacks">PEP 293: コーデックエラーを処理するコールバック</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.3.html#pep-301-package-index-and-metadata-for-distutils">PEP 301: パッケージインデクスと、 Distutils のためのメタデータ</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.3.html#pep-302-new-import-hooks">PEP 302: 新たなインポートフック</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.3.html#pep-305-comma-separated-files">PEP 305: カンマ区切り形式ファイル</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.3.html#pep-307-pickle-enhancements">PEP 307: Pickle の機能拡張</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.3.html#extended-slices">拡張スライス</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.3.html#other-language-changes">その他の言語の変更</a><ul>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.3.html#string-changes">文字列に関する変更</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.3.html#optimizations">最適化</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.3.html#new-improved-and-deprecated-modules">新たなモジュール、改良されたモジュール、非推奨のモジュール</a><ul>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.3.html#date-time-type">日付時刻型</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.3.html#the-optparse-module">optparse モジュール</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.3.html#pymalloc-a-specialized-object-allocator">Pymalloc: 特殊化されたオブジェクトアロケータ</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.3.html#build-and-c-api-changes">ビルドならびに C API の変更</a><ul>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.3.html#port-specific-changes">ポート特有の変更</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.3.html#other-changes-and-fixes">その他の変更と修正</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.3.html#porting-to-python-2-3">Python 2.3 への移植</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.3.html#acknowledgements">謝辞</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="whatsnew/2.2.html">What’s New in Python 2.2</a><ul>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.2.html#introduction">はじめに</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.2.html#peps-252-and-253-type-and-class-changes">PEP 252 と PEP 253: 型とクラスについての変更</a><ul>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.2.html#old-and-new-classes">旧と新クラス</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.2.html#descriptors">デスクリプタ</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.2.html#multiple-inheritance-the-diamond-rule">多重継承: ダイヤモンドルール</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.2.html#attribute-access">属性アクセス</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.2.html#related-links">関連リンク</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.2.html#pep-234-iterators">PEP 234: イテレータ</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.2.html#pep-255-simple-generators">PEP 255: 単純なジェネレータ</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.2.html#pep-237-unifying-long-integers-and-integers">PEP 237: 長整数と整数を一体化していく</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.2.html#pep-238-changing-the-division-operator">PEP 238: 除算演算子を変更していく</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.2.html#unicode-changes">Unicode の変更</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.2.html#pep-227-nested-scopes">PEP 227: 入れ子状のスコープ</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.2.html#new-and-improved-modules">新しいモジュールと改良されたモジュール</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.2.html#interpreter-changes-and-fixes">インタプリタの変更と修正</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.2.html#other-changes-and-fixes">その他の変更と修正</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.2.html#acknowledgements">謝辞</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="whatsnew/2.1.html">What’s New in Python 2.1</a><ul>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.1.html#introduction">はじめに</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.1.html#pep-227-nested-scopes">PEP 227: 入れ子状のスコープ</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.1.html#pep-236-future-directives">PEP 236: __future__ 指示文</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.1.html#pep-207-rich-comparisons">PEP 207: 拡張比較</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.1.html#pep-230-warning-framework">PEP 230: 警告フレームワーク</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.1.html#pep-229-new-build-system">PEP 229: 新しいビルドシステム</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.1.html#pep-205-weak-references">PEP 205: 弱参照</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.1.html#pep-232-function-attributes">PEP 232: 関数の属性</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.1.html#pep-235-importing-modules-on-case-insensitive-platforms">PEP 235: 大文字小文字を区別しないプラットフォームでのモジュールの読み込み</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.1.html#pep-217-interactive-display-hook">PEP 217: 対話モード用 Display Hook</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.1.html#pep-208-new-coercion-model">PEP 208: 新しい型強制モデル</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.1.html#pep-241-metadata-in-python-packages">PEP 241: Pythonソフトウェアパッケージのためのメタデータ</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.1.html#new-and-improved-modules">新しいモジュールと改良されたモジュール</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.1.html#other-changes-and-fixes">その他の変更と修正</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.1.html#acknowledgements">謝辞</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="whatsnew/2.0.html">What’s New in Python 2.0</a><ul>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.0.html#introduction">はじめに</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.0.html#what-about-python-1-6">Python 1.6 はいかがっすか?</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.0.html#new-development-process">新しい開発プロセス</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.0.html#unicode">Unicode</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.0.html#list-comprehensions">リストの内包表記</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.0.html#augmented-assignment">累算代入 (Augmented Assignment)</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.0.html#string-methods">文字列メソッド</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.0.html#garbage-collection-of-cycles">循環参照のガベージコレクション</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.0.html#other-core-changes">その他の言語コアの変更</a><ul>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.0.html#minor-language-changes">言語のマイナー変更</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.0.html#changes-to-built-in-functions">ビルトイン関数の変更</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.0.html#porting-to-2-0">Python 2.0 への移植</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.0.html#extending-embedding-changes">拡張と埋め込みについての変更</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.0.html#distutils-making-modules-easy-to-install">Distutils: モジュールの簡単インストール</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.0.html#xml-modules">XML モジュール</a><ul>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.0.html#sax2-support">SAX2 サポート</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.0.html#dom-support">DOM サポート</a></li>
<li class="toctree-l4"><a class="reference internal" href="whatsnew/2.0.html#relationship-to-pyxml">PyXML との関係</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.0.html#module-changes">更新されたモジュール</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.0.html#new-modules">新しいモジュール</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.0.html#idle-improvements">IDLE の改善</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.0.html#deleted-and-deprecated-modules">削除されたモジュール、非推奨となったモジュール</a></li>
<li class="toctree-l3"><a class="reference internal" href="whatsnew/2.0.html#acknowledgements">謝辞</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="tutorial/index.html">Python チュートリアル</a><ul>
<li class="toctree-l2"><a class="reference internal" href="tutorial/appetite.html">1. やる気を高めよう</a></li>
<li class="toctree-l2"><a class="reference internal" href="tutorial/interpreter.html">2. Python インタプリタを使う</a><ul>
<li class="toctree-l3"><a class="reference internal" href="tutorial/interpreter.html#invoking-the-interpreter">2.1. インタプリタを起動する</a><ul>
<li class="toctree-l4"><a class="reference internal" href="tutorial/interpreter.html#argument-passing">2.1.1. 引数の受け渡し</a></li>
<li class="toctree-l4"><a class="reference internal" href="tutorial/interpreter.html#interactive-mode">2.1.2. 対話モード</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/interpreter.html#the-interpreter-and-its-environment">2.2. インタプリタとその環境</a><ul>
<li class="toctree-l4"><a class="reference internal" href="tutorial/interpreter.html#source-code-encoding">2.2.1. ソースコードの文字コード</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="tutorial/introduction.html">3. 形式ばらない Python の紹介</a><ul>
<li class="toctree-l3"><a class="reference internal" href="tutorial/introduction.html#using-python-as-a-calculator">3.1. Python を電卓として使う</a><ul>
<li class="toctree-l4"><a class="reference internal" href="tutorial/introduction.html#numbers">3.1.1. 数</a></li>
<li class="toctree-l4"><a class="reference internal" href="tutorial/introduction.html#strings">3.1.2. 文字列</a></li>
<li class="toctree-l4"><a class="reference internal" href="tutorial/introduction.html#unicode-strings">3.1.3. Unicode 文字列</a></li>
<li class="toctree-l4"><a class="reference internal" href="tutorial/introduction.html#lists">3.1.4. リスト</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/introduction.html#first-steps-towards-programming">3.2. プログラミングへの第一歩</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="tutorial/controlflow.html">4. その他の制御フローツール</a><ul>
<li class="toctree-l3"><a class="reference internal" href="tutorial/controlflow.html#if-statements">4.1. <code class="docutils literal"><span class="pre">if</span></code> 文</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/controlflow.html#for-statements">4.2. <code class="docutils literal"><span class="pre">for</span></code> 文</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/controlflow.html#the-range-function">4.3. <code class="docutils literal"><span class="pre">range()</span></code> 関数</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/controlflow.html#break-and-continue-statements-and-else-clauses-on-loops">4.4. <code class="docutils literal"><span class="pre">break</span></code> 文と <code class="docutils literal"><span class="pre">continue</span></code> 文とループの <code class="docutils literal"><span class="pre">else</span></code> 節</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/controlflow.html#pass-statements">4.5. <code class="docutils literal"><span class="pre">pass</span></code> 文</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/controlflow.html#defining-functions">4.6. 関数を定義する</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/controlflow.html#more-on-defining-functions">4.7. 関数定義についてもう少し</a><ul>
<li class="toctree-l4"><a class="reference internal" href="tutorial/controlflow.html#default-argument-values">4.7.1. デフォルトの引数値</a></li>
<li class="toctree-l4"><a class="reference internal" href="tutorial/controlflow.html#keyword-arguments">4.7.2. キーワード引数</a></li>
<li class="toctree-l4"><a class="reference internal" href="tutorial/controlflow.html#arbitrary-argument-lists">4.7.3. 任意引数リスト</a></li>
<li class="toctree-l4"><a class="reference internal" href="tutorial/controlflow.html#unpacking-argument-lists">4.7.4. 引数リストのアンパック</a></li>
<li class="toctree-l4"><a class="reference internal" href="tutorial/controlflow.html#lambda-expressions">4.7.5. ラムダ式</a></li>
<li class="toctree-l4"><a class="reference internal" href="tutorial/controlflow.html#documentation-strings">4.7.6. ドキュメンテーション文字列</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/controlflow.html#intermezzo-coding-style">4.8. 間奏曲: コーディングスタイル</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="tutorial/datastructures.html">5. データ構造</a><ul>
<li class="toctree-l3"><a class="reference internal" href="tutorial/datastructures.html#more-on-lists">5.1. リスト型についてもう少し</a><ul>
<li class="toctree-l4"><a class="reference internal" href="tutorial/datastructures.html#using-lists-as-stacks">5.1.1. リストをスタックとして使う</a></li>
<li class="toctree-l4"><a class="reference internal" href="tutorial/datastructures.html#using-lists-as-queues">5.1.2. リストをキューとして使う</a></li>
<li class="toctree-l4"><a class="reference internal" href="tutorial/datastructures.html#functional-programming-tools">5.1.3. 関数型プログラミング用ツール</a></li>
<li class="toctree-l4"><a class="reference internal" href="tutorial/datastructures.html#list-comprehensions">5.1.4. リストの内包表記</a><ul>
<li class="toctree-l5"><a class="reference internal" href="tutorial/datastructures.html#nested-list-comprehensions">5.1.4.1. ネストしたリストの内包表記</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/datastructures.html#the-del-statement">5.2. <code class="docutils literal"><span class="pre">del</span></code> 文</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/datastructures.html#tuples-and-sequences">5.3. タプルとシーケンス</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/datastructures.html#sets">5.4. 集合型</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/datastructures.html#dictionaries">5.5. 辞書</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/datastructures.html#looping-techniques">5.6. ループのテクニック</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/datastructures.html#more-on-conditions">5.7. 条件についてもう少し</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/datastructures.html#comparing-sequences-and-other-types">5.8. シーケンスとその他の型の比較</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="tutorial/modules.html">6. モジュール</a><ul>
<li class="toctree-l3"><a class="reference internal" href="tutorial/modules.html#more-on-modules">6.1. モジュールについてもうすこし</a><ul>
<li class="toctree-l4"><a class="reference internal" href="tutorial/modules.html#executing-modules-as-scripts">6.1.1. モジュールをスクリプトとして実行する</a></li>
<li class="toctree-l4"><a class="reference internal" href="tutorial/modules.html#the-module-search-path">6.1.2. モジュール検索パス</a></li>
<li class="toctree-l4"><a class="reference internal" href="tutorial/modules.html#compiled-python-files">6.1.3. "コンパイル" された Python ファイル</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/modules.html#standard-modules">6.2. 標準モジュール</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/modules.html#the-dir-function">6.3. <code class="docutils literal"><span class="pre">dir()</span></code> 関数</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/modules.html#packages">6.4. パッケージ</a><ul>
<li class="toctree-l4"><a class="reference internal" href="tutorial/modules.html#importing-from-a-package">6.4.1. パッケージから * を import する</a></li>
<li class="toctree-l4"><a class="reference internal" href="tutorial/modules.html#intra-package-references">6.4.2. パッケージ内参照</a></li>
<li class="toctree-l4"><a class="reference internal" href="tutorial/modules.html#packages-in-multiple-directories">6.4.3. 複数ディレクトリ中のパッケージ</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="tutorial/inputoutput.html">7. 入力と出力</a><ul>
<li class="toctree-l3"><a class="reference internal" href="tutorial/inputoutput.html#fancier-output-formatting">7.1. ファンシーな出力の書式化</a><ul>
<li class="toctree-l4"><a class="reference internal" href="tutorial/inputoutput.html#old-string-formatting">7.1.1. 古い文字列フォーマット方法</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/inputoutput.html#reading-and-writing-files">7.2. ファイルを読み書きする</a><ul>
<li class="toctree-l4"><a class="reference internal" href="tutorial/inputoutput.html#methods-of-file-objects">7.2.1. ファイルオブジェクトのメソッド</a></li>
<li class="toctree-l4"><a class="reference internal" href="tutorial/inputoutput.html#saving-structured-data-with-json">7.2.2. <code class="docutils literal"><span class="pre">json</span></code> による構造化されたデータの保存</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="tutorial/errors.html">8. エラーと例外</a><ul>
<li class="toctree-l3"><a class="reference internal" href="tutorial/errors.html#syntax-errors">8.1. 構文エラー</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/errors.html#exceptions">8.2. 例外</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/errors.html#handling-exceptions">8.3. 例外を処理する</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/errors.html#raising-exceptions">8.4. 例外を送出する</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/errors.html#user-defined-exceptions">8.5. ユーザー定義例外</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/errors.html#defining-clean-up-actions">8.6. クリーンアップ動作を定義する</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/errors.html#predefined-clean-up-actions">8.7. 定義済みクリーンアップ処理</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="tutorial/classes.html">9. クラス</a><ul>
<li class="toctree-l3"><a class="reference internal" href="tutorial/classes.html#a-word-about-names-and-objects">9.1. 名前とオブジェクトについて</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/classes.html#python-scopes-and-namespaces">9.2. Python のスコープと名前空間</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/classes.html#a-first-look-at-classes">9.3. クラス初見</a><ul>
<li class="toctree-l4"><a class="reference internal" href="tutorial/classes.html#class-definition-syntax">9.3.1. クラス定義の構文</a></li>
<li class="toctree-l4"><a class="reference internal" href="tutorial/classes.html#class-objects">9.3.2. クラスオブジェクト</a></li>
<li class="toctree-l4"><a class="reference internal" href="tutorial/classes.html#instance-objects">9.3.3. インスタンスオブジェクト</a></li>
<li class="toctree-l4"><a class="reference internal" href="tutorial/classes.html#method-objects">9.3.4. メソッドオブジェクト</a></li>
<li class="toctree-l4"><a class="reference internal" href="tutorial/classes.html#class-and-instance-variables">9.3.5. クラスとインスタンス変数</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/classes.html#random-remarks">9.4. いろいろな注意点</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/classes.html#inheritance">9.5. 継承</a><ul>
<li class="toctree-l4"><a class="reference internal" href="tutorial/classes.html#multiple-inheritance">9.5.1. 多重継承</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/classes.html#private-variables-and-class-local-references">9.6. プライベート変数とクラスローカルな参照</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/classes.html#odds-and-ends">9.7. 残りのはしばし</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/classes.html#exceptions-are-classes-too">9.8. 例外はクラスであってもよい</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/classes.html#iterators">9.9. イテレータ (iterator)</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/classes.html#generators">9.10. ジェネレータ (generator)</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/classes.html#generator-expressions">9.11. ジェネレータ式</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="tutorial/stdlib.html">10. 標準ライブラリミニツアー</a><ul>
<li class="toctree-l3"><a class="reference internal" href="tutorial/stdlib.html#operating-system-interface">10.1. OSへのインタフェース</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/stdlib.html#file-wildcards">10.2. ファイルのワイルドカード表記</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/stdlib.html#command-line-arguments">10.3. コマンドライン引数</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/stdlib.html#error-output-redirection-and-program-termination">10.4. エラー出力のリダイレクトとプログラムの終了</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/stdlib.html#string-pattern-matching">10.5. 文字列のパターンマッチング</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/stdlib.html#mathematics">10.6. 数学</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/stdlib.html#internet-access">10.7. インターネットへのアクセス</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/stdlib.html#dates-and-times">10.8. 日付と時刻</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/stdlib.html#data-compression">10.9. データ圧縮</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/stdlib.html#performance-measurement">10.10. パフォーマンスの計測</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/stdlib.html#quality-control">10.11. 品質管理</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/stdlib.html#batteries-included">10.12. バッテリー同梱</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="tutorial/stdlib2.html">11. 標準ライブラリミニツアー — その 2</a><ul>
<li class="toctree-l3"><a class="reference internal" href="tutorial/stdlib2.html#output-formatting">11.1. 出力のフォーマット</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/stdlib2.html#templating">11.2. 文字列テンプレート</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/stdlib2.html#working-with-binary-data-record-layouts">11.3. バイナリデータレコードの操作</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/stdlib2.html#multi-threading">11.4. マルチスレッド</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/stdlib2.html#logging">11.5. ログ記録</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/stdlib2.html#weak-references">11.6. 弱参照</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/stdlib2.html#tools-for-working-with-lists">11.7. リスト操作のためのツール</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/stdlib2.html#decimal-floating-point-arithmetic">11.8. 10 進浮動小数演算</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="tutorial/whatnow.html">12. さあ何を?</a></li>
<li class="toctree-l2"><a class="reference internal" href="tutorial/interactive.html">13. 対話入力編集とヒストリ置換</a><ul>
<li class="toctree-l3"><a class="reference internal" href="tutorial/interactive.html#line-editing">13.1. 行編集</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/interactive.html#history-substitution">13.2. ヒストリ置換</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/interactive.html#key-bindings">13.3. キー割り当て</a></li>
<li class="toctree-l3"><a class="reference internal" href="tutorial/interactive.html#alternatives-to-the-interactive-interpreter">13.4. インタラクティブインタプタの代替</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="tutorial/floatingpoint.html">14. 浮動小数点演算、その問題と制限</a><ul>
<li class="toctree-l3"><a class="reference internal" href="tutorial/floatingpoint.html#representation-error">14.1. 表現エラー</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="tutorial/appendix.html">15. 付録</a><ul>
<li class="toctree-l3"><a class="reference internal" href="tutorial/appendix.html#interactive-mode">15.1. 対話モード</a><ul>
<li class="toctree-l4"><a class="reference internal" href="tutorial/appendix.html#error-handling">15.1.1. エラー処理</a></li>
<li class="toctree-l4"><a class="reference internal" href="tutorial/appendix.html#executable-python-scripts">15.1.2. 実行可能な Python スクリプト</a></li>
<li class="toctree-l4"><a class="reference internal" href="tutorial/appendix.html#the-interactive-startup-file">15.1.3. 対話モード用の起動時実行ファイル</a></li>
<li class="toctree-l4"><a class="reference internal" href="tutorial/appendix.html#the-customization-modules">15.1.4. カスタマイズ用モジュール</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="using/index.html">Python のセットアップと利用</a><ul>
<li class="toctree-l2"><a class="reference internal" href="using/cmdline.html">1. コマンドラインと環境</a><ul>
<li class="toctree-l3"><a class="reference internal" href="using/cmdline.html#command-line">1.1. コマンドライン</a><ul>
<li class="toctree-l4"><a class="reference internal" href="using/cmdline.html#interface-options">1.1.1. インターフェイスオプション</a></li>
<li class="toctree-l4"><a class="reference internal" href="using/cmdline.html#generic-options">1.1.2. 一般オプション</a></li>
<li class="toctree-l4"><a class="reference internal" href="using/cmdline.html#miscellaneous-options">1.1.3. その他のオプション</a></li>
<li class="toctree-l4"><a class="reference internal" href="using/cmdline.html#options-you-shouldn-t-use">1.1.4. 使うべきでないオプション</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="using/cmdline.html#environment-variables">1.2. 環境変数</a><ul>
<li class="toctree-l4"><a class="reference internal" href="using/cmdline.html#debug-mode-variables">1.2.1. デバッグモード変数</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="using/unix.html">2. Unix プラットフォームで Python を使う</a><ul>
<li class="toctree-l3"><a class="reference internal" href="using/unix.html#getting-and-installing-the-latest-version-of-python">2.1. 最新バージョンの Python の取得とインストール</a><ul>
<li class="toctree-l4"><a class="reference internal" href="using/unix.html#on-linux">2.1.1. Linux</a></li>
<li class="toctree-l4"><a class="reference internal" href="using/unix.html#on-freebsd-and-openbsd">2.1.2. FreeBSD と OpenBSD</a></li>
<li class="toctree-l4"><a class="reference internal" href="using/unix.html#on-opensolaris">2.1.3. OpenSolaris</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="using/unix.html#building-python">2.2. Python のビルド</a></li>
<li class="toctree-l3"><a class="reference internal" href="using/unix.html#python-related-paths-and-files">2.3. Python に関係するパスとファイル</a></li>
<li class="toctree-l3"><a class="reference internal" href="using/unix.html#miscellaneous">2.4. その他</a></li>
<li class="toctree-l3"><a class="reference internal" href="using/unix.html#editors-and-ides">2.5. エディタと IDE</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="using/windows.html">3. Windows で Python を使う</a><ul>
<li class="toctree-l3"><a class="reference internal" href="using/windows.html#installing-python">3.1. Python のインストール</a></li>
<li class="toctree-l3"><a class="reference internal" href="using/windows.html#alternative-bundles">3.2. 別のバンドル</a></li>
<li class="toctree-l3"><a class="reference internal" href="using/windows.html#configuring-python">3.3. Python を構成する</a><ul>
<li class="toctree-l4"><a class="reference internal" href="using/windows.html#excursus-setting-environment-variables">3.3.1. 補足: 環境変数の設定</a></li>
<li class="toctree-l4"><a class="reference internal" href="using/windows.html#finding-the-python-executable">3.3.2. Python 実行ファイルを見つける</a></li>
<li class="toctree-l4"><a class="reference internal" href="using/windows.html#finding-modules">3.3.3. モジュールの検索</a></li>
<li class="toctree-l4"><a class="reference internal" href="using/windows.html#executing-scripts">3.3.4. スクリプトを実行する</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="using/windows.html#additional-modules">3.4. 追加のモジュール</a><ul>
<li class="toctree-l4"><a class="reference internal" href="using/windows.html#pywin32">3.4.1. PyWin32</a></li>
<li class="toctree-l4"><a class="reference internal" href="using/windows.html#py2exe">3.4.2. Py2exe</a></li>
<li class="toctree-l4"><a class="reference internal" href="using/windows.html#wconio">3.4.3. WConio</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="using/windows.html#compiling-python-on-windows">3.5. Windows 上で Python をコンパイルする</a></li>
<li class="toctree-l3"><a class="reference internal" href="using/windows.html#other-resources">3.6. その他のリソース</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="using/mac.html">4. Macintosh で Python を使う</a><ul>
<li class="toctree-l3"><a class="reference internal" href="using/mac.html#getting-and-installing-macpython">4.1. MacPython の入手とインストール</a><ul>
<li class="toctree-l4"><a class="reference internal" href="using/mac.html#how-to-run-a-python-script">4.1.1. Python スクリプトの実行方法</a></li>
<li class="toctree-l4"><a class="reference internal" href="using/mac.html#running-scripts-with-a-gui">4.1.2. GUI でスクリプトを実行</a></li>
<li class="toctree-l4"><a class="reference internal" href="using/mac.html#configuration">4.1.3. Configuration</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="using/mac.html#the-ide">4.2. IDE</a></li>
<li class="toctree-l3"><a class="reference internal" href="using/mac.html#installing-additional-python-packages">4.3. 追加の Python パッケージのインストール</a></li>
<li class="toctree-l3"><a class="reference internal" href="using/mac.html#gui-programming-on-the-mac">4.4. Mac での GUI プログラミング</a></li>
<li class="toctree-l3"><a class="reference internal" href="using/mac.html#distributing-python-applications-on-the-mac">4.5. Mac 上の Python アプリケーションの配布</a></li>
<li class="toctree-l3"><a class="reference internal" href="using/mac.html#other-resources">4.6. 他のリソース</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="reference/index.html">Python 言語リファレンス</a><ul>
<li class="toctree-l2"><a class="reference internal" href="reference/introduction.html">1. はじめに</a><ul>
<li class="toctree-l3"><a class="reference internal" href="reference/introduction.html#alternate-implementations">1.1. 別のPythonの実装</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/introduction.html#notation">1.2. 本マニュアルにおける表記法</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="reference/lexical_analysis.html">2. 字句解析</a><ul>
<li class="toctree-l3"><a class="reference internal" href="reference/lexical_analysis.html#line-structure">2.1. 行構造</a><ul>
<li class="toctree-l4"><a class="reference internal" href="reference/lexical_analysis.html#logical-lines">2.1.1. 論理行 (logical line)</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/lexical_analysis.html#physical-lines">2.1.2. 物理行 (physical line)</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/lexical_analysis.html#comments">2.1.3. コメント (Comments)</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/lexical_analysis.html#encoding-declarations">2.1.4. エンコード宣言 (encoding declaration)</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/lexical_analysis.html#explicit-line-joining">2.1.5. 明示的な行継続</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/lexical_analysis.html#implicit-line-joining">2.1.6. 非明示的な行継続</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/lexical_analysis.html#blank-lines">2.1.7. 空行</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/lexical_analysis.html#indentation">2.1.8. インデント</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/lexical_analysis.html#whitespace-between-tokens">2.1.9. トークン間の空白</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="reference/lexical_analysis.html#other-tokens">2.2. その他のトークン</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/lexical_analysis.html#identifiers">2.3. 識別子 (identifier) およびキーワード (keyword)</a><ul>
<li class="toctree-l4"><a class="reference internal" href="reference/lexical_analysis.html#keywords">2.3.1. キーワード (keyword)</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/lexical_analysis.html#reserved-classes-of-identifiers">2.3.2. 予約済みの識別子種 (reserved classes of identifiers)</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="reference/lexical_analysis.html#literals">2.4. リテラル</a><ul>
<li class="toctree-l4"><a class="reference internal" href="reference/lexical_analysis.html#string-literals">2.4.1. 文字列リテラル</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/lexical_analysis.html#string-literal-concatenation">2.4.2. 文字列リテラルの結合 (concatenation)</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/lexical_analysis.html#numeric-literals">2.4.3. 数値リテラル</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/lexical_analysis.html#integer-and-long-integer-literals">2.4.4. 整数および長整数リテラル</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/lexical_analysis.html#floating-point-literals">2.4.5. 浮動小数点数リテラル</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/lexical_analysis.html#imaginary-literals">2.4.6. 虚数 (imaginary) リテラル</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="reference/lexical_analysis.html#operators">2.5. 演算子 (operator)</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/lexical_analysis.html#delimiters">2.6. デリミタ (delimiter)</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="reference/datamodel.html">3. データモデル</a><ul>
<li class="toctree-l3"><a class="reference internal" href="reference/datamodel.html#objects-values-and-types">3.1. オブジェクト、値、および型</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/datamodel.html#the-standard-type-hierarchy">3.2. 標準型の階層</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/datamodel.html#new-style-and-classic-classes">3.3. 新スタイルと旧スタイル</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/datamodel.html#special-method-names">3.4. 特殊メソッド名</a><ul>
<li class="toctree-l4"><a class="reference internal" href="reference/datamodel.html#basic-customization">3.4.1. 基本的なカスタマイズ</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/datamodel.html#customizing-attribute-access">3.4.2. 属性値アクセスをカスタマイズする</a><ul>
<li class="toctree-l5"><a class="reference internal" href="reference/datamodel.html#more-attribute-access-for-new-style-classes">3.4.2.1. 新しい形式のクラスのための別の属性アクセス</a></li>
<li class="toctree-l5"><a class="reference internal" href="reference/datamodel.html#implementing-descriptors">3.4.2.2. デスクリプタ (descriptor) の実装</a></li>
<li class="toctree-l5"><a class="reference internal" href="reference/datamodel.html#invoking-descriptors">3.4.2.3. デスクリプタの呼び出し</a></li>
<li class="toctree-l5"><a class="reference internal" href="reference/datamodel.html#slots">3.4.2.4. __slots__</a></li>
</ul>
</li>
<li class="toctree-l4"><a class="reference internal" href="reference/datamodel.html#customizing-class-creation">3.4.3. クラス生成をカスタマイズする</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/datamodel.html#customizing-instance-and-subclass-checks">3.4.4. インスタンスのカスタマイズとサブクラスチェック</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/datamodel.html#emulating-callable-objects">3.4.5. 呼び出し可能オブジェクトをエミュレートする</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/datamodel.html#emulating-container-types">3.4.6. コンテナをエミュレートする</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/datamodel.html#additional-methods-for-emulation-of-sequence-types">3.4.7. シーケンス型エミュレーションで使われるその他のメソッド</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/datamodel.html#emulating-numeric-types">3.4.8. 数値型をエミュレーションする</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/datamodel.html#coercion-rules">3.4.9. 型強制規則 (coercion rule)</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/datamodel.html#with-statement-context-managers">3.4.10. with文とコンテキストマネージャ</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/datamodel.html#special-method-lookup-for-old-style-classes">3.4.11. 旧スタイルクラスの特殊メソッド検索</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/datamodel.html#special-method-lookup-for-new-style-classes">3.4.12. 新スタイルクラスの特殊メソッド検索</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="reference/executionmodel.html">4. 実行モデル</a><ul>
<li class="toctree-l3"><a class="reference internal" href="reference/executionmodel.html#naming-and-binding">4.1. 名前づけと束縛 (naming and binding)</a><ul>
<li class="toctree-l4"><a class="reference internal" href="reference/executionmodel.html#interaction-with-dynamic-features">4.1.1. 動的な機能とのやりとり</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="reference/executionmodel.html#exceptions">4.2. 例外</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="reference/expressions.html">5. 式 (expression)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="reference/expressions.html#arithmetic-conversions">5.1. 算術変換 (arithmetic conversion)</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/expressions.html#atoms">5.2. アトム、原子的要素 (atom)</a><ul>
<li class="toctree-l4"><a class="reference internal" href="reference/expressions.html#atom-identifiers">5.2.1. 識別子 (identifier、または名前 (name))</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/expressions.html#literals">5.2.2. リテラル</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/expressions.html#parenthesized-forms">5.2.3. 丸括弧形式 (parenthesized form)</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/expressions.html#list-displays">5.2.4. リスト表現</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/expressions.html#displays-for-sets-and-dictionaries">5.2.5. 集合と辞書の表現</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/expressions.html#generator-expressions">5.2.6. ジェネレータ式</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/expressions.html#dictionary-displays">5.2.7. 辞書表現</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/expressions.html#set-displays">5.2.8. 集合表現</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/expressions.html#string-conversions">5.2.9. 文字列変換</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/expressions.html#yield-expressions">5.2.10. Yield 式</a><ul>
<li class="toctree-l5"><a class="reference internal" href="reference/expressions.html#generator-iterator-methods">5.2.10.1. ジェネレータ-イテレータメソッド</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="reference/expressions.html#primaries">5.3. プライマリ</a><ul>
<li class="toctree-l4"><a class="reference internal" href="reference/expressions.html#attribute-references">5.3.1. 属性参照</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/expressions.html#subscriptions">5.3.2. 添字表記 (subscription)</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/expressions.html#slicings">5.3.3. スライス表記 (slicing)</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/expressions.html#calls">5.3.4. 呼び出し (call)</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="reference/expressions.html#the-power-operator">5.4. べき乗演算 (power operator)</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/expressions.html#unary-arithmetic-and-bitwise-operations">5.5. 単項算術演算とビット単位演算(unary arithmetic and bitwise operation)</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/expressions.html#binary-arithmetic-operations">5.6. 二項算術演算 (binary arithmetic operation)</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/expressions.html#shifting-operations">5.7. シフト演算 (shifting operation)</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/expressions.html#binary-bitwise-operations">5.8. ビット単位演算の二項演算 (binary bitwise operation)</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/expressions.html#comparisons">5.9. 比較</a><ul>
<li class="toctree-l4"><a class="reference internal" href="reference/expressions.html#value-comparisons">5.9.1. 値の比較</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/expressions.html#membership-test-operations">5.9.2. 帰属検査演算</a></li>
<li class="toctree-l4"><a class="reference internal" href="reference/expressions.html#is-not">5.9.3. 同一性の比較</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="reference/expressions.html#boolean-operations">5.10. ブール演算 (boolean operation)</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/expressions.html#conditional-expressions">5.11. 条件演算 (Conditional Expressions)</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/expressions.html#lambda">5.12. ラムダ (lambda)</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/expressions.html#expression-lists">5.13. 式のリスト</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/expressions.html#evaluation-order">5.14. 評価順序</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/expressions.html#operator-precedence">5.15. 演算子の優先順位</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="reference/simple_stmts.html">6. 単純文 (simple statement)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="reference/simple_stmts.html#expression-statements">6.1. 式文 (expression statement)</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/simple_stmts.html#assignment-statements">6.2. 代入文 (assignment statement)</a><ul>
<li class="toctree-l4"><a class="reference internal" href="reference/simple_stmts.html#augmented-assignment-statements">6.2.1. 累算代入文 (augmented assignment statement)</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="reference/simple_stmts.html#the-assert-statement">6.3. <code class="docutils literal"><span class="pre">assert</span></code> 文</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/simple_stmts.html#the-pass-statement">6.4. <code class="docutils literal"><span class="pre">pass</span></code> 文</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/simple_stmts.html#the-del-statement">6.5. <code class="docutils literal"><span class="pre">del</span></code> 文</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/simple_stmts.html#the-print-statement">6.6. <code class="docutils literal"><span class="pre">print</span></code> 文</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/simple_stmts.html#the-return-statement">6.7. <code class="docutils literal"><span class="pre">return</span></code> 文</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/simple_stmts.html#the-yield-statement">6.8. <code class="docutils literal"><span class="pre">yield</span></code> 文</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/simple_stmts.html#the-raise-statement">6.9. <code class="docutils literal"><span class="pre">raise</span></code> 文</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/simple_stmts.html#the-break-statement">6.10. <code class="docutils literal"><span class="pre">break</span></code> 文</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/simple_stmts.html#the-continue-statement">6.11. <code class="docutils literal"><span class="pre">continue</span></code> 文</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/simple_stmts.html#the-import-statement">6.12. <code class="docutils literal"><span class="pre">import</span></code> 文</a><ul>
<li class="toctree-l4"><a class="reference internal" href="reference/simple_stmts.html#future-statements">6.12.1. future 文 (future statement)</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="reference/simple_stmts.html#the-global-statement">6.13. <code class="docutils literal"><span class="pre">global</span></code> 文</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/simple_stmts.html#the-exec-statement">6.14. <code class="docutils literal"><span class="pre">exec</span></code> 文</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="reference/compound_stmts.html">7. 複合文 (compound statement)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="reference/compound_stmts.html#the-if-statement">7.1. <code class="docutils literal"><span class="pre">if</span></code> 文</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/compound_stmts.html#the-while-statement">7.2. <code class="docutils literal"><span class="pre">while</span></code> 文</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/compound_stmts.html#the-for-statement">7.3. <code class="docutils literal"><span class="pre">for</span></code> 文</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/compound_stmts.html#the-try-statement">7.4. <code class="docutils literal"><span class="pre">try</span></code> 文</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/compound_stmts.html#the-with-statement">7.5. <code class="docutils literal"><span class="pre">with</span></code> 文</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/compound_stmts.html#function-definitions">7.6. 関数定義</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/compound_stmts.html#class-definitions">7.7. クラス定義</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="reference/toplevel_components.html">8. トップレベル要素</a><ul>
<li class="toctree-l3"><a class="reference internal" href="reference/toplevel_components.html#complete-python-programs">8.1. 完全な Python プログラム</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/toplevel_components.html#file-input">8.2. ファイル入力</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/toplevel_components.html#interactive-input">8.3. 対話的入力</a></li>
<li class="toctree-l3"><a class="reference internal" href="reference/toplevel_components.html#expression-input">8.4. 式入力</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="reference/grammar.html">9. 完全な文法仕様</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="library/index.html">Python 標準ライブラリ</a><ul>
<li class="toctree-l2"><a class="reference internal" href="library/intro.html">1. はじめに</a></li>
<li class="toctree-l2"><a class="reference internal" href="library/functions.html">2. 組み込み関数</a></li>
<li class="toctree-l2"><a class="reference internal" href="library/functions.html#non-essential-built-in-functions">3. 非必須組み込み関数 (Non-essential Built-in Functions)</a></li>
<li class="toctree-l2"><a class="reference internal" href="library/constants.html">4. 組み込み定数</a><ul>
<li class="toctree-l3"><a class="reference internal" href="library/constants.html#constants-added-by-the-site-module">4.1. <code class="docutils literal"><span class="pre">site</span></code> モジュールで追加される定数</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="library/stdtypes.html">5. 組み込み型</a><ul>
<li class="toctree-l3"><a class="reference internal" href="library/stdtypes.html#truth-value-testing">5.1. 真理値判定</a></li>
<li class="toctree-l3"><a class="reference internal" href="library/stdtypes.html#boolean-operations-and-or-not">5.2. ブール演算 — <code class="docutils literal"><span class="pre">and</span></code>, <code class="docutils literal"><span class="pre">or</span></code>, <code class="docutils literal"><span class="pre">not</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="library/stdtypes.html#comparisons">5.3. 比較</a></li>
<li class="toctree-l3"><a class="reference internal" href="library/stdtypes.html#numeric-types-int-float-long-complex">5.4. 数値型 <code class="docutils literal"><span class="pre">int</span></code>, <code class="docutils literal"><span class="pre">float</span></code>, <code class="docutils literal"><span class="pre">long</span></code>, <code class="docutils literal"><span class="pre">complex</span></code></a><ul>
<li class="toctree-l4"><a class="reference internal" href="library/stdtypes.html#bitwise-operations-on-integer-types">5.4.1. 整数型におけるビット単位演算</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/stdtypes.html#additional-methods-on-integer-types">5.4.2. 整数型における追加のメソッド</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/stdtypes.html#additional-methods-on-float">5.4.3. 浮動小数点数に対する追加のメソッド</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="library/stdtypes.html#iterator-types">5.5. イテレータ型</a><ul>
<li class="toctree-l4"><a class="reference internal" href="library/stdtypes.html#generator-types">5.5.1. ジェネレータ型</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="library/stdtypes.html#sequence-types-str-unicode-list-tuple-bytearray-buffer-xrange">5.6. シーケンス型 — <code class="docutils literal"><span class="pre">str</span></code>, <code class="docutils literal"><span class="pre">unicode</span></code>, <code class="docutils literal"><span class="pre">list</span></code>, <code class="docutils literal"><span class="pre">tuple</span></code>, <code class="docutils literal"><span class="pre">bytearray</span></code>, <code class="docutils literal"><span class="pre">buffer</span></code>, <code class="docutils literal"><span class="pre">xrange</span></code></a><ul>
<li class="toctree-l4"><a class="reference internal" href="library/stdtypes.html#string-methods">5.6.1. 文字列メソッド</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/stdtypes.html#string-formatting-operations">5.6.2. 文字列フォーマット操作</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/stdtypes.html#xrange-type">5.6.3. XRange 型</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/stdtypes.html#mutable-sequence-types">5.6.4. ミュータブルなシーケンス型</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="library/stdtypes.html#set-types-set-frozenset">5.7. set(集合)型 — <code class="docutils literal"><span class="pre">set</span></code>, <code class="docutils literal"><span class="pre">frozenset</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="library/stdtypes.html#mapping-types-dict">5.8. マッピング型 — <code class="docutils literal"><span class="pre">dict</span></code></a><ul>
<li class="toctree-l4"><a class="reference internal" href="library/stdtypes.html#dictionary-view-objects">5.8.1. 辞書ビューオブジェクト</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="library/stdtypes.html#file-objects">5.9. ファイルオブジェクト</a></li>
<li class="toctree-l3"><a class="reference internal" href="library/stdtypes.html#memoryview-type">5.10. メモリビュー型</a></li>
<li class="toctree-l3"><a class="reference internal" href="library/stdtypes.html#context-manager-types">5.11. コンテキストマネージャ型</a></li>
<li class="toctree-l3"><a class="reference internal" href="library/stdtypes.html#other-built-in-types">5.12. その他の組み込み型</a><ul>
<li class="toctree-l4"><a class="reference internal" href="library/stdtypes.html#modules">5.12.1. モジュール</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/stdtypes.html#classes-and-class-instances">5.12.2. クラスおよびクラスインスタンス</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/stdtypes.html#functions">5.12.3. 関数</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/stdtypes.html#methods">5.12.4. メソッド</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/stdtypes.html#code-objects">5.12.5. コードオブジェクト</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/stdtypes.html#type-objects">5.12.6. 型オブジェクト</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/stdtypes.html#the-null-object">5.12.7. ヌルオブジェクト</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/stdtypes.html#the-ellipsis-object">5.12.8. Ellipsis オブジェクト</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/stdtypes.html#the-notimplemented-object">5.12.9. NotImplemented オブジェクト</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/stdtypes.html#boolean-values">5.12.10. ブール値</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/stdtypes.html#internal-objects">5.12.11. 内部オブジェクト</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="library/stdtypes.html#special-attributes">5.13. 特殊属性</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="library/exceptions.html">6. 組み込み例外</a><ul>
<li class="toctree-l3"><a class="reference internal" href="library/exceptions.html#exception-hierarchy">6.1. 例外のクラス階層</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="library/strings.html">7. 文字列処理</a><ul>
<li class="toctree-l3"><a class="reference internal" href="library/string.html">7.1. <code class="docutils literal"><span class="pre">string</span></code> — 一般的な文字列操作</a><ul>
<li class="toctree-l4"><a class="reference internal" href="library/string.html#string-constants">7.1.1. 文字列定数</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/string.html#custom-string-formatting">7.1.2. カスタムの文字列書式化</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/string.html#format-string-syntax">7.1.3. 書式指定文字列の文法</a><ul>
<li class="toctree-l5"><a class="reference internal" href="library/string.html#format-specification-mini-language">7.1.3.1. 書式指定ミニ言語仕様</a></li>
<li class="toctree-l5"><a class="reference internal" href="library/string.html#format-examples">7.1.3.2. 書式指定例</a></li>
</ul>
</li>
<li class="toctree-l4"><a class="reference internal" href="library/string.html#template-strings">7.1.4. テンプレート文字列</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/string.html#string-functions">7.1.5. 文字列操作関数</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/string.html#deprecated-string-functions">7.1.6. 撤廃された文字列関数</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="library/re.html">7.2. <code class="docutils literal"><span class="pre">re</span></code> — 正規表現操作</a><ul>
<li class="toctree-l4"><a class="reference internal" href="library/re.html#regular-expression-syntax">7.2.1. 正規表現のシンタクス</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/re.html#module-contents">7.2.2. モジュールコンテンツ</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/re.html#regular-expression-objects">7.2.3. 正規表現オブジェクト</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/re.html#match-objects">7.2.4. MatchObject オブジェクト</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/re.html#examples">7.2.5. 例</a><ul>
<li class="toctree-l5"><a class="reference internal" href="library/re.html#checking-for-a-pair">7.2.5.1. ペアの確認</a></li>
<li class="toctree-l5"><a class="reference internal" href="library/re.html#simulating-scanf">7.2.5.2. scanf() をシミュレートする</a></li>
<li class="toctree-l5"><a class="reference internal" href="library/re.html#search-vs-match">7.2.5.3. search() vs. match()</a></li>
<li class="toctree-l5"><a class="reference internal" href="library/re.html#making-a-phonebook">7.2.5.4. 電話帳の作成</a></li>
<li class="toctree-l5"><a class="reference internal" href="library/re.html#text-munging">7.2.5.5. テキストの秘匿</a></li>
<li class="toctree-l5"><a class="reference internal" href="library/re.html#finding-all-adverbs">7.2.5.6. 全ての副詞を見つける</a></li>
<li class="toctree-l5"><a class="reference internal" href="library/re.html#finding-all-adverbs-and-their-positions">7.2.5.7. 全ての副詞と、その位置を見つける</a></li>
<li class="toctree-l5"><a class="reference internal" href="library/re.html#raw-string-notation">7.2.5.8. Raw String記法</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="library/struct.html">7.3. <code class="docutils literal"><span class="pre">struct</span></code> — 文字列データをパックされたバイナリデータとして解釈する</a><ul>
<li class="toctree-l4"><a class="reference internal" href="library/struct.html#functions-and-exceptions">7.3.1. 関数と例外</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/struct.html#format-strings">7.3.2. フォーマット文字列</a><ul>
<li class="toctree-l5"><a class="reference internal" href="library/struct.html#byte-order-size-and-alignment">7.3.2.1. バイトオーダ、サイズ、アラインメント</a></li>
<li class="toctree-l5"><a class="reference internal" href="library/struct.html#format-characters">7.3.2.2. フォーマット文字</a></li>
<li class="toctree-l5"><a class="reference internal" href="library/struct.html#examples">7.3.2.3. 例</a></li>
</ul>
</li>
<li class="toctree-l4"><a class="reference internal" href="library/struct.html#classes">7.3.3. クラス</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="library/difflib.html">7.4. <code class="docutils literal"><span class="pre">difflib</span></code> — 差分の計算を助ける</a><ul>
<li class="toctree-l4"><a class="reference internal" href="library/difflib.html#sequencematcher-objects">7.4.1. SequenceMatcherオブジェクト</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/difflib.html#sequencematcher-examples">7.4.2. SequenceMatcher の例</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/difflib.html#differ-objects">7.4.3. Differ オブジェクト</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/difflib.html#differ-example">7.4.4. Differ の例</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/difflib.html#a-command-line-interface-to-difflib">7.4.5. difflib のコマンドラインインタフェース</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="library/stringio.html">7.5. <code class="docutils literal"><span class="pre">StringIO</span></code> — ファイルのように文字列を読み書きする</a></li>
<li class="toctree-l3"><a class="reference internal" href="library/stringio.html#module-cStringIO">7.6. <code class="docutils literal"><span class="pre">cStringIO</span></code> — 高速化された <code class="docutils literal"><span class="pre">StringIO</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="library/textwrap.html">7.7. <code class="docutils literal"><span class="pre">textwrap</span></code> — テキストの折り返しと詰め込み</a></li>
<li class="toctree-l3"><a class="reference internal" href="library/codecs.html">7.8. <code class="docutils literal"><span class="pre">codecs</span></code> — codec レジストリと基底クラス</a><ul>
<li class="toctree-l4"><a class="reference internal" href="library/codecs.html#codec-base-classes">7.8.1. Codec 基底クラス</a><ul>
<li class="toctree-l5"><a class="reference internal" href="library/codecs.html#codec-objects">7.8.1.1. Codec オブジェクト</a></li>
<li class="toctree-l5"><a class="reference internal" href="library/codecs.html#incrementalencoder-objects">7.8.1.2. IncrementalEncoder オブジェクト</a></li>
<li class="toctree-l5"><a class="reference internal" href="library/codecs.html#incrementaldecoder-objects">7.8.1.3. IncrementalDecoder オブジェクト</a></li>
<li class="toctree-l5"><a class="reference internal" href="library/codecs.html#streamwriter-objects">7.8.1.4. StreamWriter オブジェクト</a></li>
<li class="toctree-l5"><a class="reference internal" href="library/codecs.html#streamreader-objects">7.8.1.5. StreamReader オブジェクト</a></li>
<li class="toctree-l5"><a class="reference internal" href="library/codecs.html#streamreaderwriter-objects">7.8.1.6. StreamReaderWriter オブジェクト</a></li>
<li class="toctree-l5"><a class="reference internal" href="library/codecs.html#streamrecoder-objects">7.8.1.7. StreamRecoder オブジェクト</a></li>
</ul>
</li>
<li class="toctree-l4"><a class="reference internal" href="library/codecs.html#encodings-and-unicode">7.8.2. エンコーディングと Unicode</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/codecs.html#standard-encodings">7.8.3. 標準エンコーディング</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/codecs.html#python-specific-encodings">7.8.4. Python 特有のエンコーディング</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/codecs.html#module-encodings.idna">7.8.5. <code class="docutils literal"><span class="pre">encodings.idna</span></code> — アプリケーションにおける国際化ドメイン名 (IDNA)</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/codecs.html#module-encodings.utf_8_sig">7.8.6. <code class="docutils literal"><span class="pre">encodings.utf_8_sig</span></code> — BOM 印付き UTF-8</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="library/unicodedata.html">7.9. <code class="docutils literal"><span class="pre">unicodedata</span></code> — Unicode データベース</a></li>
<li class="toctree-l3"><a class="reference internal" href="library/stringprep.html">7.10. <code class="docutils literal"><span class="pre">stringprep</span></code> — インターネットのための文字列調製</a></li>
<li class="toctree-l3"><a class="reference internal" href="library/fpformat.html">7.11. <code class="docutils literal"><span class="pre">fpformat</span></code> — 浮動小数点数の変換</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="library/datatypes.html">8. データ型</a><ul>
<li class="toctree-l3"><a class="reference internal" href="library/datetime.html">8.1. <code class="docutils literal"><span class="pre">datetime</span></code> — 基本的な日付型および時間型</a><ul>
<li class="toctree-l4"><a class="reference internal" href="library/datetime.html#available-types">8.1.1. 利用可能なデータ型</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/datetime.html#timedelta-objects">8.1.2. <code class="docutils literal"><span class="pre">timedelta</span></code> オブジェクト</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/datetime.html#date-objects">8.1.3. <code class="docutils literal"><span class="pre">date</span></code> オブジェクト</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/datetime.html#datetime-objects">8.1.4. <code class="docutils literal"><span class="pre">datetime</span></code> オブジェクト</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/datetime.html#time-objects">8.1.5. <code class="docutils literal"><span class="pre">time</span></code> オブジェクト</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/datetime.html#tzinfo-objects">8.1.6. <code class="docutils literal"><span class="pre">tzinfo</span></code> オブジェクト</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/datetime.html#strftime-and-strptime-behavior">8.1.7. <code class="docutils literal"><span class="pre">strftime()</span></code> と <code class="docutils literal"><span class="pre">strptime()</span></code> の振る舞い</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="library/calendar.html">8.2. <code class="docutils literal"><span class="pre">calendar</span></code> — 一般的なカレンダーに関する関数群</a></li>
<li class="toctree-l3"><a class="reference internal" href="library/collections.html">8.3. <code class="docutils literal"><span class="pre">collections</span></code> — 高性能なコンテナ・データ型</a><ul>
<li class="toctree-l4"><a class="reference internal" href="library/collections.html#counter-objects">8.3.1. <code class="docutils literal"><span class="pre">Counter</span></code> オブジェクト</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/collections.html#deque-objects">8.3.2. <code class="docutils literal"><span class="pre">deque</span></code> オブジェクト</a><ul>
<li class="toctree-l5"><a class="reference internal" href="library/collections.html#deque-recipes">8.3.2.1. <code class="docutils literal"><span class="pre">deque</span></code> のレシピ</a></li>
</ul>
</li>
<li class="toctree-l4"><a class="reference internal" href="library/collections.html#defaultdict-objects">8.3.3. <code class="docutils literal"><span class="pre">defaultdict</span></code> オブジェクト</a><ul>
<li class="toctree-l5"><a class="reference internal" href="library/collections.html#defaultdict-examples">8.3.3.1. <code class="docutils literal"><span class="pre">defaultdict</span></code> の使用例</a></li>
</ul>
</li>
<li class="toctree-l4"><a class="reference internal" href="library/collections.html#namedtuple-factory-function-for-tuples-with-named-fields">8.3.4. <code class="docutils literal"><span class="pre">namedtuple()</span></code> 名前付きフィールドを持つタプルのファクトリ関数</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/collections.html#ordereddict-objects">8.3.5. <code class="docutils literal"><span class="pre">OrderedDict</span></code> オブジェクト</a><ul>
<li class="toctree-l5"><a class="reference internal" href="library/collections.html#ordereddict-examples-and-recipes">8.3.5.1. <code class="docutils literal"><span class="pre">OrderedDict</span></code> の例とレシピ</a></li>
</ul>
</li>
<li class="toctree-l4"><a class="reference internal" href="library/collections.html#collections-abstract-base-classes">8.3.6. コレクション抽象基底クラス</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="library/heapq.html">8.4. <code class="docutils literal"><span class="pre">heapq</span></code> — ヒープキューアルゴリズム</a><ul>
<li class="toctree-l4"><a class="reference internal" href="library/heapq.html#basic-examples">8.4.1. 基本的な例</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/heapq.html#priority-queue-implementation-notes">8.4.2. 優先度キュー実装の注釈</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/heapq.html#theory">8.4.3. 理論</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="library/bisect.html">8.5. <code class="docutils literal"><span class="pre">bisect</span></code> — 配列二分法アルゴリズム</a><ul>
<li class="toctree-l4"><a class="reference internal" href="library/bisect.html#searching-sorted-lists">8.5.1. ソート済みリストの探索</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/bisect.html#other-examples">8.5.2. その他の使用例</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="library/array.html">8.6. <code class="docutils literal"><span class="pre">array</span></code> — 効率のよい数値アレイ</a></li>
<li class="toctree-l3"><a class="reference internal" href="library/sets.html">8.7. <code class="docutils literal"><span class="pre">sets</span></code> — 重複のない要素の順序なしコレクション</a><ul>
<li class="toctree-l4"><a class="reference internal" href="library/sets.html#set-objects">8.7.1. Set オブジェクト</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/sets.html#example">8.7.2. 使用例</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/sets.html#protocol-for-automatic-conversion-to-immutable">8.7.3. 不変に自動変換するためのプロトコル</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/sets.html#comparison-to-the-built-in-set-types">8.7.4. 組み込み <code class="docutils literal"><span class="pre">set</span></code> 型との比較</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="library/sched.html">8.8. <code class="docutils literal"><span class="pre">sched</span></code> — イベントスケジューラ</a><ul>
<li class="toctree-l4"><a class="reference internal" href="library/sched.html#scheduler-objects">8.8.1. スケジューラオブジェクト</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="library/mutex.html">8.9. <code class="docutils literal"><span class="pre">mutex</span></code> — 排他制御</a><ul>
<li class="toctree-l4"><a class="reference internal" href="library/mutex.html#mutex-objects">8.9.1. mutex オブジェクト</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="library/queue.html">8.10. <code class="docutils literal"><span class="pre">Queue</span></code> — 同期キュークラス</a><ul>
<li class="toctree-l4"><a class="reference internal" href="library/queue.html#queue-objects">8.10.1. キューオブジェクト</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="library/weakref.html">8.11. <code class="docutils literal"><span class="pre">weakref</span></code> — 弱参照</a><ul>
<li class="toctree-l4"><a class="reference internal" href="library/weakref.html#weak-reference-objects">8.11.1. 弱参照オブジェクト</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/weakref.html#example">8.11.2. 例</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="library/userdict.html">8.12. <code class="docutils literal"><span class="pre">UserDict</span></code> — 辞書オブジェクトのためのクラスラッパー</a></li>
<li class="toctree-l3"><a class="reference internal" href="library/userdict.html#module-UserList">8.13. <code class="docutils literal"><span class="pre">UserList</span></code> — リストオブジェクトのためのクラスラッパー</a></li>
<li class="toctree-l3"><a class="reference internal" href="library/userdict.html#module-UserString">8.14. <code class="docutils literal"><span class="pre">UserString</span></code> — 文字列オブジェクトのためのクラスラッパー</a></li>
<li class="toctree-l3"><a class="reference internal" href="library/types.html">8.15. <code class="docutils literal"><span class="pre">types</span></code> — 組み込み型の名前</a></li>
<li class="toctree-l3"><a class="reference internal" href="library/new.html">8.16. <code class="docutils literal"><span class="pre">new</span></code> — ランタイム内部オブジェクトの作成</a></li>
<li class="toctree-l3"><a class="reference internal" href="library/copy.html">8.17. <code class="docutils literal"><span class="pre">copy</span></code> — 浅いコピーおよび深いコピー操作</a></li>
<li class="toctree-l3"><a class="reference internal" href="library/pprint.html">8.18. <code class="docutils literal"><span class="pre">pprint</span></code> — データ出力の整然化</a><ul>
<li class="toctree-l4"><a class="reference internal" href="library/pprint.html#prettyprinter-objects">8.18.1. PrettyPrinter オブジェクト</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/pprint.html#pprint-example">8.18.2. pprint の例</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="library/repr.html">8.19. <code class="docutils literal"><span class="pre">repr</span></code> — もう一つの <code class="docutils literal"><span class="pre">repr()</span></code> の実装</a><ul>
<li class="toctree-l4"><a class="reference internal" href="library/repr.html#repr-objects">8.19.1. Reprオブジェクト</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/repr.html#subclassing-repr-objects">8.19.2. Reprオブジェクトをサブクラス化する</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="library/numeric.html">9. 数値と数学モジュール</a><ul>
<li class="toctree-l3"><a class="reference internal" href="library/numbers.html">9.1. <code class="docutils literal"><span class="pre">numbers</span></code> — 数の抽象基底クラス</a><ul>
<li class="toctree-l4"><a class="reference internal" href="library/numbers.html#the-numeric-tower">9.1.1. 数値塔</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/numbers.html#notes-for-type-implementors">9.1.2. 型実装者のための注意事項</a><ul>
<li class="toctree-l5"><a class="reference internal" href="library/numbers.html#adding-more-numeric-abcs">9.1.2.1. さらに数のABCを追加する</a></li>
<li class="toctree-l5"><a class="reference internal" href="library/numbers.html#implementing-the-arithmetic-operations">9.1.2.2. 算術演算の実装</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="library/math.html">9.2. <code class="docutils literal"><span class="pre">math</span></code> — 数学関数</a><ul>
<li class="toctree-l4"><a class="reference internal" href="library/math.html#number-theoretic-and-representation-functions">9.2.1. 数論および数表現にまつわる関数です</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/math.html#power-and-logarithmic-functions">9.2.2. 指数関数と対数関数</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/math.html#trigonometric-functions">9.2.3. 三角関数</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/math.html#angular-conversion">9.2.4. 角度変換</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/math.html#hyperbolic-functions">9.2.5. 双曲線関数</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/math.html#special-functions">9.2.6. 特殊な関数</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/math.html#constants">9.2.7. 定数</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="library/cmath.html">9.3. <code class="docutils literal"><span class="pre">cmath</span></code> — 複素数のための数学関数</a><ul>
<li class="toctree-l4"><a class="reference internal" href="library/cmath.html#conversions-to-and-from-polar-coordinates">9.3.1. 極座標変換</a></li>
<li class="toctree-l4"><a class="reference internal" href="library/cmath.html#power-and-logarithmic-functions">9.3.2. 指数関数と対数関数</a></li>