Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Oh (0.13 sec)

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

    {!../../../docs_src/python_types/tutorial009c.py!}
    ```
    
    Tham số `name` được định nghĩa là `Optional[str]`, nhưng nó **không phải là tùy chọn**, bạn không thể gọi hàm mà không có tham số:
    
    ```Python
    say_hi()  # Oh, no, this throws an error! 😱
    ```
    
    Tham số `name` **vẫn được yêu cầu** (không phải là *tùy chọn*) vì nó không có giá trị mặc định. Trong khi đó, `name` chấp nhận `None` như là giá trị:
    
    ```Python
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  2. docs/em/docs/python-types.md

    🖼, ➡️ ✊ 👉 🔢:
    
    ```Python hl_lines="1  4"
    {!../../../docs_src/python_types/tutorial009c.py!}
    ```
    
    🔢 `name` 🔬 `Optional[str]`, ✋️ ⚫️ **🚫 📦**, 👆 🚫🔜 🤙 🔢 🍵 🔢:
    
    ```Python
    say_hi()  # Oh, no, this throws an error! 😱
    ```
    
    `name` 🔢 **✔** (🚫 *📦*) ↩️ ⚫️ 🚫 ✔️ 🔢 💲. , `name` 🚫 `None` 💲:
    
    ```Python
    say_hi(name=None)  # This works, None is valid 🎉
    ```
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  3. docs/en/docs/python-types.md

    {!../../../docs_src/python_types/tutorial009c.py!}
    ```
    
    The parameter `name` is defined as `Optional[str]`, but it is **not optional**, you cannot call the function without the parameter:
    
    ```Python
    say_hi()  # Oh, no, this throws an error! 😱
    ```
    
    The `name` parameter is **still required** (not *optional*) because it doesn't have a default value. Still, `name` accepts `None` as the value:
    
    ```Python
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  4. docs/de/docs/python-types.md

    {!../../../docs_src/python_types/tutorial009c.py!}
    ```
    
    Der Parameter `name` ist definiert als `Optional[str]`, aber er ist **nicht optional**, Sie können die Funktion nicht ohne diesen Parameter aufrufen:
    
    ```Python
    say_hi()  # Oh, nein, das löst einen Fehler aus! 😱
    ```
    
    Der `name` Parameter wird **immer noch benötigt** (nicht *optional*), weil er keinen Default-Wert hat. `name` akzeptiert aber dennoch `None` als Wert:
    
    ```Python
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:29:25 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top