LoginSignup
1
0

More than 3 years have passed since last update.

PythonのData model(データモデル)のThe standard type hierarchy(標準型の階層)

Last updated at Posted at 2019-05-10

目的

(「シーケンス」の位置づけがよくわからなかったので)
以下のPythonのリファレンスに記載されているData model(データモデル)の標準型の階層を表にする。

 https://docs.python.org/3/reference/datamodel.html
 https://docs.python.org/ja/3/reference/datamodel.html

The standard type hierarchy(標準型の階層)

numbers.Number
numbers.Integral
整数
Integers (int)
整数
Booleans (bool)
ブール値
numbers.Real (float)
実数
numbers.Complex (complex)
Sequences
シーケンス型
Immutable sequences
変更不能なシーケンス
Strings
文字列型
Tuples
タプル型
Bytes
Mutable sequences
変更可能なシーケンス型
Lists
リスト型
Byte Arrays
バイト配列
Set types
集合型
Sets
集合型
Frozen sets
Mappings
マッピング型
Dictionaries
辞書型

雑談

上記のnumbers.Integralのintegralが整数(整数の)という意味があることを知りませんでした。

関連(本人)

英語と日本語、両方使ってPythonを丁寧に学ぶ。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0