- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for links (0.6 sec)
-
docs/em/docs/python-types.md
## 🌅 🎯 ✅ 👉 🔢, ⚫️ ⏪ ✔️ 🆎 🔑: ```Python hl_lines="1" {!../../../docs_src/python_types/tutorial003.py!} ``` ↩️ 👨🎨 💭 🆎 🔢, 👆 🚫 🕴 🤚 🛠️, 👆 🤚 ❌ ✅: <img src="/img/python-types/image04.png"> 🔜 👆 💭 👈 👆 ✔️ 🔧 ⚫️, 🗜 `age` 🎻 ⏮️ `str(age)`: ```Python hl_lines="2" {!../../../docs_src/python_types/tutorial004.py!} ``` ## 📣 🆎
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
## より強い動機 この関数を見てください。すでに型ヒントを持っています: ```Python hl_lines="1" {!../../../docs_src/python_types/tutorial003.py!} ``` エディタは変数の型を知っているので、補完だけでなく、エラーチェックをすることもできます。 <img src="https://fastapi.tiangolo.com/img/python-types/image04.png"> これで`age`を`str(age)`で文字列に変換して修正する必要があることがわかります: ```Python hl_lines="2" {!../../../docs_src/python_types/tutorial004.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) -
docs/en/docs/python-types.md
=== "Python 3.10+" ```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+ alternative" ```Python hl_lines="1 4" {!> ../../../docs_src/python_types/tutorial009b.py!} ```
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/zh/docs/python-types.md
## 更多动机 下面是一个已经有类型提示的函数: ```Python hl_lines="1" {!../../../docs_src/python_types/tutorial003.py!} ``` 因为编辑器已经知道了这些变量的类型,所以不仅能对代码进行补全,还能检查其中的错误: <img src="https://fastapi.tiangolo.com/img/python-types/image04.png"> 现在你知道了必须先修复这个问题,通过 `str(age)` 把 `age` 转换成字符串: ```Python hl_lines="2" {!../../../docs_src/python_types/tutorial004.py!} ``` ## 声明类型
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
=== "Python 3.10+" ```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+ alternative" ```Python hl_lines="1 4" {!> ../../../docs_src/python_types/tutorial009b.py!} ```
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
Проверьте эту функцию, она уже имеет аннотации типов: ```Python hl_lines="1" {!../../../docs_src/python_types/tutorial003.py!} ``` Поскольку редактор знает типы переменных, вы получаете не только дополнение, но и проверки ошибок: <img src="/img/python-types/image04.png"> Теперь вы знаете, что вам нужно исправить, преобразовав `age` в строку с `str(age)`: ```Python hl_lines="2" {!../../../docs_src/python_types/tutorial004.py!} ```
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
=== "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" {!> ../../../docs_src/python_types/tutorial009_py310.py!} ```
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/tr/docs/python-types.md
```Python hl_lines="1" {!../../../docs_src/python_types/tutorial003.py!} ``` Editör değişkenlerin tiplerini bildiğinden, yalnızca otomatik tamamlama değil, hata kontrolleri de sağlar: <img src="/img/python-types/image04.png"> Artık `age` değişkenini `str(age)` olarak kullanmanız gerektiğini biliyorsunuz: ```Python hl_lines="2" {!../../../docs_src/python_types/tutorial004.py!}
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) -
docs/pt/docs/python-types.md
```Python hl_lines="1" {!../../../docs_src/python_types/tutorial003.py!} ``` Como o editor conhece os tipos de variáveis, você não apenas obtém a conclusão, mas também as verificações de erro: <img src="/img/python-types/image04.png"> Agora você sabe que precisa corrigí-lo, converta `age` em uma string com `str (age)`: ```Python hl_lines="2" {!../../../docs_src/python_types/tutorial004.py!}
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
De `typing`, importa `List` (con una `L` mayúscula): ```Python hl_lines="1" {!../../../docs_src/python_types/tutorial006.py!} ``` Declara la variable con la misma sintaxis de los dos puntos (`:`). Pon `List` como el tipo. Como la lista es un tipo que permite tener un "sub-tipo" pones el sub-tipo en corchetes `[]`: ```Python hl_lines="4" {!../../../docs_src/python_types/tutorial006.py!} ```
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)