- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for 0123 (0.12 sec)
-
docs/ja/docs/python-types.md
* `Set` * `Dict` * `Optional` * ...など **ジェネリック型** または **ジェネリクス** と呼びます。 ### 型としてのクラス 変数の型としてクラスを宣言することもできます。 例えば、`Person`クラスという名前のクラスがあるとしましょう: ```Python hl_lines="1 2 3" {!../../../docs_src/python_types/tutorial010.py!} ``` 変数の型を`Person`として宣言することができます: ```Python hl_lines="6" {!../../../docs_src/python_types/tutorial010.py!} ``` そして、再び、すべてのエディタのサポートを得ることができます:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 11.8K bytes - Viewed (0)