資料型別
********

本章節所描述的模組 (module) 提供了多樣的專門資料型別，例如日期與時間、
固定型別陣列 (fixed-type arrays)、堆積佇列 (heap queues)、雙端佇列
(double-ended queues) 與列舉 (enumerations)。

Python 也有提供一些內建資料型別，特別是 "dict"、"list"、"set" 與
"frozenset" 和 "tuple"。"str" 類別是用來儲存 Unicode 字串，"bytes" 與
"bytearray" 類別則是用來儲存二進位制資料。

本章節包含下列模組的文件：

* "datetime" --- 日期與時間的基本型別

  * Aware and Naive Objects

  * 常數

  * Available Types

    * Common Properties

    * Determining if an Object is Aware or Naive

  * "timedelta" 物件

    * 用法範例："timedelta"

  * "date" 物件

    * 用法範例："date"

  * "datetime" 物件

    * Examples of Usage: "datetime"

  * "time" 物件

    * 用法範例："time"

  * "tzinfo" 物件

  * "timezone" 物件

  * "strftime()" and "strptime()" Behavior

    * "strftime()" and "strptime()" Format Codes

    * Technical Detail

* "zoneinfo" --- IANA 時區支援

  * Using "ZoneInfo"

  * Data sources

    * Configuring the data sources

      * Compile-time configuration

      * Environment configuration

      * Runtime configuration

  * The "ZoneInfo" class

    * String representations

    * Pickle serialization

  * 函式

  * Globals

  * Exceptions and warnings

* "calendar" --- General calendar-related functions

  * Command-Line Usage

* "collections" --- 容器資料型態

  * "ChainMap" 物件

    * "ChainMap" 範例和用法

  * "Counter" 物件

  * "deque" 物件

    * "deque" 用法

  * "defaultdict" 物件

    * "defaultdict" 範例

  * "namedtuple()" 擁有具名欄位之 tuple 的工廠函式

  * "OrderedDict" 物件

    * "OrderedDict" 範例與用法

  * "UserDict" 物件

  * "UserList" 物件

  * "UserString" 物件

* "collections.abc" --- Abstract Base Classes for Containers

  * Collections Abstract Base Classes

  * Collections Abstract Base Classes -- Detailed Descriptions

  * Examples and Recipes

* "heapq" --- 堆積佇列 (heap queue) 演算法

  * 基礎範例

  * 優先佇列實作細節

  * 原理

* "bisect" --- 陣列二分演算法 (Array bisection algorithm)

  * 效能考量

  * 搜尋一個已排序的 list

  * 範例

* "array" --- 高效率的數值型陣列

* "weakref" --- Weak references

  * Weak Reference Objects

  * 範例

  * Finalizer Objects

  * Comparing finalizers with "__del__()" methods

* "types" --- Dynamic type creation and names for built-in types

  * Dynamic Type Creation

  * Standard Interpreter Types

  * Additional Utility Classes and Functions

  * Coroutine Utility Functions

* "copy" --- 淺層 (shallow) 和深層 (deep) 複製操作

* "pprint" --- Data pretty printer

  * Functions

  * PrettyPrinter 物件

  * 範例

* "reprlib" --- Alternate "repr()" implementation

  * Repr 物件

  * Subclassing Repr Objects

* "enum" --- Support for enumerations

  * 模組內容

  * Data Types

    * Supported "__dunder__" names

    * Supported "_sunder_" names

  * Utilities and Decorators

  * Notes

* "graphlib" —-- 使用類圖 (graph-like) 結構進行操作的功能

  * 例外
