データ型
********

この章で解説されるモジュールは日付や時間、型が固定された配列、ヒープキ
ュー、両端キュー、列挙型のような種々の特殊なデータ型を提供します。

Python also provides some built-in data types, in particular, "dict",
"list", "set" and "frozenset", and "tuple".  The "str" class is used
to hold Unicode strings, and the "bytes" and "bytearray" classes are
used to hold binary data.

この章では以下のモジュールが記述されています:

* "datetime" --- 基本的な日付と時間の型

  * Aware and naive objects

  * 定数

  * Available types

    * Common properties

    * Determining if an object is aware or naive

  * "timedelta" objects

    * Examples of usage: "timedelta"

  * "date" objects

    * Examples of usage: "date"

  * "datetime" objects

    * Examples of usage: "datetime"

  * "time" objects

    * Examples of usage: "time"

  * "tzinfo" objects

  * "timezone" objects

  * "strftime()" and "strptime()" behavior

    * "strftime()" and "strptime()" format codes

    * Technical detail

* "zoneinfo" --- IANA タイムゾーンのサポート

  * "ZoneInfo" を使用する

  * データソース

    * Configuring the data sources

      * Compile-time configuration

      * Environment configuration

      * Runtime configuration

  * "ZoneInfo" クラス

    * 文字列表現

    * Pickle serialization

  * 関数

  * Globals

  * 例外と警告

* "calendar" --- 一般的なカレンダーに関係する機能群

  * コマンドラインでの使用

* "collections" --- コンテナデータ型

  * "ChainMap" オブジェクト

    * "ChainMap" の例とレシピ

  * "Counter" オブジェクト

  * "deque" オブジェクト

    * "deque" のレシピ

  * "defaultdict" オブジェクト

    * "defaultdict" の使用例

  * "namedtuple()" 名前付きフィールドを持つタプルのファクトリ関数

  * "OrderedDict" オブジェクト

    * "OrderedDict" の例とレシピ

  * "UserDict" オブジェクト

  * "UserList" オブジェクト

  * "UserString" オブジェクト

* "collections.abc" --- コンテナの抽象基底クラス

  * コレクション抽象基底クラス

  * コレクションの抽象基底クラス -- 詳細な説明

  * 例とレシピ

* "heapq" --- ヒープキューアルゴリズム

  * 基本的な例

  * Other Applications

  * 優先度キュー実装の注釈

  * 理論

* "bisect" --- 配列二分法アルゴリズム

  * パフォーマンスに関するメモ

  * ソート済みリストの探索

  * 使用例

* "array" --- 効率的な数値配列

* "weakref" --- Weak references

  * 弱参照オブジェクト

  * 使用例

  * ファイナライザオブジェクト

  * Comparing finalizers with "__del__()" methods

* "types" --- 動的な型生成と組み込み型の名前

  * 動的な型生成

  * 標準的なインタプリタ型

  * 追加のユーティリティクラスと関数

  * コルーチンユーティリティ関数

* "copy" --- 浅いコピーおよび深いコピー操作

* "pprint" --- データの整形表示

  * 関数

  * PrettyPrinter オブジェクト

  * 使用例

* "reprlib" --- もう一つの "repr()" の実装

  * Reprオブジェクト

  * Reprオブジェクトをサブクラス化する

* "enum" --- 列挙型のサポート

  * モジュールの内容

  * データ型

    * "__dunder__" 名のサポート

    * "_sunder_" 名のサポート

  * Utilities and decorators

  * 注釈

* "graphlib" --- グラフ構造を操作する機能

  * 例外
