- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for 14 (0.19 sec)
-
docs/en/docs/python-types.md
{!> ../../../docs_src/python_types/tutorial009_py310.py!} ``` === "Python 3.8+" ```Python hl_lines="1 4" {!> ../../../docs_src/python_types/tutorial009.py!} ``` === "Python 3.8+ alternative" ```Python hl_lines="1 4" {!> ../../../docs_src/python_types/tutorial009b.py!} ``` #### Using `Union` or `Optional`
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 17K bytes - Viewed (0) -
docs/em/docs/python-types.md
```Python hl_lines="1 4" {!../../../docs_src/python_types/tutorial009.py!} ``` ⚙️ `Optional[str]` ↩️ `str` 🔜 ➡️ 👨🎨 ℹ 👆 🔍 ❌ 🌐❔ 👆 💪 🤔 👈 💲 🕧 `str`, 🕐❔ ⚫️ 💪 🤙 `None` 💁♂️. `Optional[Something]` 🤙 ⌨ `Union[Something, None]`, 👫 🌓. 👉 ⛓ 👈 🐍 3️⃣.1️⃣0️⃣, 👆 💪 ⚙️ `Something | None`: === "🐍 3️⃣.6️⃣ & 🔛" ```Python hl_lines="1 4"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 13.6K bytes - Viewed (0) -
docs/ja/docs/python-types.md
`tuple`と`set`の宣言も同様です: ```Python hl_lines="1 4" {!../../../docs_src/python_types/tutorial007.py!} ``` つまり: * 変数`items_t`は`int`、`int`、`str`の3つの項目を持つ`tuple`です * 変数`items_s`はそれぞれの項目が`bytes`型である`set`です。 #### `Dict` `dict`を宣言するためには、カンマ区切りで2つの型パラメータを渡します。 最初の型パラメータは`dict`のキーです。 2番目の型パラメータは`dict`の値です。 ```Python hl_lines="1 4" {!../../../docs_src/python_types/tutorial008.py!}
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 11.8K bytes - Viewed (0) -
docs/uk/docs/python-types.md
Це також означає, що в Python 3.10 ви можете використовувати `Something | None`: === "Python 3.8 і вище" ```Python hl_lines="1 4" {!> ../../../docs_src/python_types/tutorial009.py!} ``` === "Python 3.8 і вище - альтернатива" ```Python hl_lines="1 4" {!> ../../../docs_src/python_types/tutorial009b.py!} ``` === "Python 3.10 і вище" ```Python hl_lines="1"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 19.7K bytes - Viewed (0) -
docs/ru/docs/python-types.md
И все же редактор знает, что это `str`, и поддерживает это. #### `Tuple` и `Set` Вы бы сделали то же самое, чтобы объявить `tuple` и `set`: ```Python hl_lines="1 4" {!../../../docs_src/python_types/tutorial007.py!} ``` Это означает: * Переменная `items_t` является `tuple` с 3 элементами: `int`, другим `int` и `str`.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 14.6K bytes - Viewed (0) -
docs/vi/docs/python-types.md
{!> ../../../docs_src/python_types/tutorial009_py310.py!} ``` === "Python 3.8+" ```Python hl_lines="1 4" {!> ../../../docs_src/python_types/tutorial009.py!} ``` === "Python 3.8+ alternative" ```Python hl_lines="1 4" {!> ../../../docs_src/python_types/tutorial009b.py!} ``` #### Sử dụng `Union` hay `Optional`
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 21.9K bytes - Viewed (0) -
docs/zh/docs/python-types.md
声明 `tuple` 和 `set` 的方法也是一样的: ```Python hl_lines="1 4" {!../../../docs_src/python_types/tutorial007.py!} ``` 这表示: * 变量 `items_t` 是一个 `tuple`,其中的前两个元素都是 `int` 类型, 最后一个元素是 `str` 类型。 * 变量 `items_s` 是一个 `set`,其中的每个元素都是 `bytes` 类型。 #### 字典 定义 `dict` 时,需要传入两个子类型,用逗号进行分隔。 第一个子类型声明 `dict` 的所有键。 第二个子类型声明 `dict` 的所有值: ```Python hl_lines="1 4" {!../../../docs_src/python_types/tutorial008.py!}
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 8.6K bytes - Viewed (0) -
docs/de/docs/python-types.md
{!> ../../../docs_src/python_types/tutorial009_py310.py!} ``` === "Python 3.8+" ```Python hl_lines="1 4" {!> ../../../docs_src/python_types/tutorial009.py!} ``` === "Python 3.8+ Alternative" ```Python hl_lines="1 4" {!> ../../../docs_src/python_types/tutorial009b.py!} ``` #### `Union` oder `Optional` verwenden?
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 30 20:29:25 GMT 2024 - 19.3K bytes - Viewed (0) -
docs/bn/docs/python-types.md
```Python hl_lines="1" {!> ../../../docs_src/python_types/tutorial009_py310.py!} ``` === "Python 3.8+" ```Python hl_lines="1 4" {!> ../../../docs_src/python_types/tutorial009.py!} ``` === "Python 3.8+ বিকল্প" ```Python hl_lines="1 4" {!> ../../../docs_src/python_types/tutorial009b.py!} ``` #### `Union` বা `Optional` ব্যবহার
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Wed Apr 03 15:34:37 GMT 2024 - 36K bytes - Viewed (0) -
docs/tr/docs/python-types.md
Ve yine, editör bunun bir `str` olduğunu biliyor ve bunun için destek sağlıyor. #### `Tuple` ve `Set` `Tuple` ve `set`lerin tiplerini bildirmek için de aynısını yapıyoruz: ```Python hl_lines="1 4" {!../../../docs_src/python_types/tutorial007.py!} ``` Bu şu anlama geliyor: * `items_t` değişkeni sırasıyla `int`, `int`, ve `str` tiplerinden oluşan bir `tuple` türündedir .
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 9.7K bytes - Viewed (0)