- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for same (0.13 sec)
-
docs/en/docs/python-types.md
``` That's it. Those are the "type hints": ```Python hl_lines="1" {!../../../docs_src/python_types/tutorial002.py!} ``` That is not the same as declaring default values like would be with: ```Python first_name="john", last_name="doe" ``` It's a different thing. We are using colons (`:`), not equals (`=`).
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) -
docs/em/docs/python-types.md
⤴️, 👆 🔄 ⏮️ 🗝 👩💻 👨👧👦, 👨🎨 ✍. 👆 🆎 🥇 🔢 🔢, `first_name`, ⤴️ ❣ (`.`) & ⤴️ 🎯 `Ctrl+Space` ⏲ 🛠️. ✋️, 😞, 👆 🤚 🕳 ⚠: <img src="/img/python-types/image01.png"> ### 🚮 🆎 ➡️ 🔀 👁 ⏸ ⚪️➡️ ⏮️ ⏬. 👥 🔜 🔀 ⚫️❔ 👉 🧬, 🔢 🔢, ⚪️➡️: ```Python first_name, last_name ``` : ```Python first_name: str, last_name: str ``` 👈 ⚫️. 👈 "🆎 🔑":
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) -
docs/ja/docs/python-types.md
そして、古くからプログラマーの友人であるエディタで自動補完を試してみます。 関数の最初のパラメータ`first_name`を入力し、ドット(`.`)を入力してから、`Ctrl+Space`を押すと補完が実行されます。 しかし、悲しいことに、これはなんの役にも立ちません: <img src="https://fastapi.tiangolo.com/img/python-types/image01.png"> ### 型の追加 先ほどのコードから一行変更してみましょう。 以下の関数のパラメータ部分を: ```Python first_name, last_name ``` 以下へ変更します: ```Python first_name: str, last_name: str ``` これだけです。 それが「型ヒント」です:
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) -
docs/zh/docs/python-types.md
然后你尝试向程序员老手的朋友——编辑器自动补全寻求帮助。 输入函数的第一个参数 `first_name`,输入点号(`.`)然后敲下 `Ctrl+Space` 来触发代码补全。 但遗憾的是并没有起什么作用: <img src="https://fastapi.tiangolo.com/img/python-types/image01.png"> ### 添加类型 让我们来修改上面例子的一行代码。 我们将把下面这段代码中的函数参数从: ```Python first_name, last_name ``` 改成: ```Python first_name: str, last_name: str ``` 就是这样。 这些就是"类型提示":
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 8.6K bytes - Viewed (0) -
docs/vi/docs/python-types.md
``` 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" ``` Nó là một thứ khác. Chúng ta sử dụng dấu hai chấm (`:`), không phải dấu bằng (`=`).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 21.9K bytes - Viewed (0) -
docs/ru/docs/python-types.md
Вы вводите первый параметр функции, `first_name`, затем точку (`.`), а затем нажимаете `Ctrl+Space`, чтобы запустить дополнение. Но, к сожалению, ничего полезного не выходит: <img src="/img/python-types/image01.png"> ### Добавим типы Давайте изменим одну строчку в предыдущей версии. Мы изменим именно этот фрагмент, параметры функции, с: ```Python first_name, last_name ``` на: ```Python
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) -
docs/uk/docs/python-types.md
Ви надрукуєте перший параметр функції, `first_name`, тоді крапку (`.`), а тоді натиснете `Ctrl+Space`, щоб запустити автозаповнення. Але, на жаль, ви не отримаєте нічого корисного: <img src="/img/python-types/image01.png"> ### Додайте типи Давайте змінимо один рядок з попередньої версії. Ми змінимо саме цей фрагмент, параметри функції, з: ```Python first_name, last_name ``` на: ```Python
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) -
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" ``` É uma coisa diferente.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.6K bytes - Viewed (0) -
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 May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.2K bytes - Viewed (0) -
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 May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 9.7K bytes - Viewed (0)