Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for _t (0.13 sec)

  1. docs/ru/docs/python-types.md

    #### `Tuple` и `Set`
    
    Вы бы сделали то же самое, чтобы объявить `tuple` и `set`:
    
    ```Python hl_lines="1  4"
    {!../../../docs_src/python_types/tutorial007.py!}
    ```
    
    Это означает:
    
    * Переменная `items_t` является `tuple` с 3 элементами: `int`, другим `int` и `str`.
    * Переменная `items_s` является `set` и каждый элемент имеет тип `bytes`.
    
    #### `Dict`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  2. docs/uk/docs/python-types.md

        ```
    
    === "Python 3.9 і вище"
    
        ```Python hl_lines="1"
        {!> ../../../docs_src/python_types/tutorial007_py39.py!}
        ```
    
    Це означає:
    
    * Змінна `items_t` це `tuple` з 3 елементами, `int`, ще `int`, та `str`.
    * Змінна `items_s` це `set`, і кожен його елемент типу `bytes`.
    
    #### Dict (словник)
    
    Щоб оголосити `dict`, вам потрібно передати 2 параметри типу, розділені комами.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  3. fastapi/concurrency.py

    from starlette.concurrency import (  # noqa
        run_until_first_complete as run_until_first_complete,
    )
    
    _T = TypeVar("_T")
    
    
    @asynccontextmanager
    async def contextmanager_in_threadpool(
        cm: ContextManager[_T],
    ) -> AsyncGenerator[_T, None]:
        # blocking __exit__ from running waiting on a free thread
        # can create race conditions/deadlocks if the context manager itself
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Dec 25 17:57:35 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  4. docs/en/docs/python-types.md

        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="1  4"
        {!> ../../../docs_src/python_types/tutorial007.py!}
        ```
    
    This means:
    
    * The variable `items_t` is a `tuple` with 3 items, an `int`, another `int`, and a `str`.
    * The variable `items_s` is a `set`, and each of its items is of type `bytes`.
    
    #### Dict
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  5. docs_src/python_types/tutorial007_py39.py

    def process_items(items_t: tuple[int, int, str], items_s: set[bytes]):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 99 bytes
    - Viewed (0)
  6. docs_src/python_types/tutorial007.py

    from typing import Set, Tuple
    
    
    def process_items(items_t: Tuple[int, int, str], items_s: Set[bytes]):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 11 17:20:32 GMT 2020
    - 131 bytes
    - Viewed (0)
  7. docs/em/docs/python-types.md

        ```
    
    === "🐍 3️⃣.9️⃣ & 🔛"
    
        ```Python hl_lines="1"
        {!> ../../../docs_src/python_types/tutorial007_py39.py!}
        ```
    
    👉 ⛓:
    
    * 🔢 `items_t` `tuple` ⏮️ 3️⃣ 🏬, `int`, ➕1️⃣ `int`, & `str`.
    * 🔢 `items_s` `set`, & 🔠 🚮 🏬 🆎 `bytes`.
    
    ####  #️⃣
    
    🔬 `dict`, 👆 🚶‍♀️ 2️⃣ 🆎 🔢, 🎏 ❕.
    
    🥇 🆎 🔢 🔑 `dict`.
    
    🥈 🆎 🔢 💲 `dict`:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  8. docs/tr/docs/python-types.md

    `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 .
    * `items_s` ise her öğesi `bytes` türünde olan bir `set` örneğidir.
    
    #### `Dict`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  9. docs/ja/docs/python-types.md

    それでも、エディタはそれが`str`であることを知っていて、そのためのサポートを提供しています。
    
    #### `Tuple` と `Set`
    
    `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`の値です。
    
    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)
  10. docs/es/docs/python-types.md

    #### Tuples y Sets
    
    Harías lo mismo para declarar `tuple`s y `set`s:
    
    ```Python hl_lines="1  4"
    {!../../../docs_src/python_types/tutorial007.py!}
    ```
    
    Esto significa:
    
    * La variable `items_t` es un `tuple` con 3 ítems, un `int`, otro `int`, y un `str`.
    * La variable `items_s` es un `set` y cada uno de sus ítems es de tipo `bytes`.
    
    #### Diccionarios (Dicts)
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.2K bytes
    - Viewed (0)
Back to top