Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for first (0.16 sec)

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

    But then you have to call "that method that converts the first letter to upper case".
    
    Was it `upper`? Was it `uppercase`? `first_uppercase`? `capitalize`?
    
    Then, you try with the old programmer's friend, editor autocompletion.
    
    You type the first parameter of the function, `first_name`, then a dot (`.`) and then hit `Ctrl+Space` to trigger the completion.
    
    But, sadly, you get nothing useful:
    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)
  2. docs/em/docs/python-types.md

    ⚫️ `upper`❓ ⚫️ `uppercase`❓ `first_uppercase`❓ `capitalize`❓
    
    ⤴️, 👆 🔄 ⏮️ 🗝 👩‍💻 👨‍👧‍👦, 👨‍🎨 ✍.
    
    👆 🆎 🥇 🔢 🔢, `first_name`, ⤴️ ❣ (`.`) & ⤴️ 🎯 `Ctrl+Space` ⏲ 🛠️.
    
    ✋️, 😞, 👆 🤚 🕳 ⚠:
    
    <img src="/img/python-types/image01.png">
    
    ### 🚮 🆎
    
    ➡️ 🔀 👁 ⏸ ⚪️➡️ ⏮️ ⏬.
    
    👥 🔜 🔀 ⚫️❔ 👉 🧬, 🔢 🔢, ⚪️➡️:
    
    ```Python
        first_name, last_name
    ```
    
    :
    
    ```Python
    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)
  3. docs/ja/docs/python-types.md

    それは`upper`でしたか?`uppercase`でしたか?それとも`first_uppercase`?または`capitalize`?
    
    そして、古くからプログラマーの友人であるエディタで自動補完を試してみます。
    
    関数の最初のパラメータ`first_name`を入力し、ドット(`.`)を入力してから、`Ctrl+Space`を押すと補完が実行されます。
    
    しかし、悲しいことに、これはなんの役にも立ちません:
    
    <img src="https://fastapi.tiangolo.com/img/python-types/image01.png">
    
    ### 型の追加
    
    先ほどのコードから一行変更してみましょう。
    
    以下の関数のパラメータ部分を:
    
    ```Python
        first_name, last_name
    ```
    
    以下へ変更します:
    
    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)
  4. docs/ru/docs/python-types.md

    ```Python
        first_name, last_name
    ```
    
    на:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    Вот и все.
    
    Это аннотации типов:
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial002.py!}
    ```
    
    Это не то же самое, что объявление значений по умолчанию, например:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    Это другая вещь.
    
    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)
  5. docs/uk/docs/python-types.md

    ```Python
        first_name, last_name
    ```
    
    на:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    Ось і все.
    
    Це "type hints":
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial002.py!}
    ```
    
    Це не те саме, що оголошення значень за замовчуванням, як це було б з:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    Це зовсім інше.
    
    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)
  6. docs/zh/docs/python-types.md

    现在你需要调用一个"将第一个字母转换为大写形式的方法"。
    
    等等,那个方法是什么来着?`upper`?还是 `uppercase`?`first_uppercase`?`capitalize`?
    
    然后你尝试向程序员老手的朋友——编辑器自动补全寻求帮助。
    
    输入函数的第一个参数 `first_name`,输入点号(`.`)然后敲下 `Ctrl+Space` 来触发代码补全。
    
    但遗憾的是并没有起什么作用:
    
    <img src="https://fastapi.tiangolo.com/img/python-types/image01.png">
    
    ### 添加类型
    
    让我们来修改上面例子的一行代码。
    
    我们将把下面这段代码中的函数参数从:
    
    ```Python
        first_name, last_name
    ```
    
    改成:
    
    ```Python
    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)
  7. docs/vi/docs/python-types.md

    ```Python
        first_name, last_name
    ```
    
    sang:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    Chính là nó.
    
    Những thứ đó là "type hints":
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial002.py!}
    ```
    
    Đó không giống như khai báo những giá trị mặc định giống như:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    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)
  8. docs/tr/docs/python-types.md

    ```Python
        first_name, last_name
    ```
    
    ve bu hale getireceğiz:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    Bu kadar.
    
    İşte bunlar "tip belirteçleri":
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial002.py!}
    ```
    
    Bu, aşağıdaki gibi varsayılan değerleri bildirmekle aynı şey değildir:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    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)
  9. docs/pt/docs/python-types.md

    ```Python
        first_name, last_name
    ```
    
    para:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    É isso aí.
    
    Esses são os "type hints":
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial002.py!}
    ```
    
    Isso não é o mesmo que declarar valores padrão como seria com:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  10. docs/es/docs/python-types.md

    ```Python
        first_name, last_name
    ```
    
    a:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    Eso es todo.
    
    Esos son los "type hints":
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial002.py!}
    ```
    
    No es lo mismo a declarar valores por defecto, como sería con:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    Es algo diferente.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.2K bytes
    - Viewed (0)
Back to top