Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for say_hi (0.97 sec)

  1. docs/zh/docs/advanced/settings.md

    例如,如果您有一个函数:
    ```Python
    @lru_cache
    def say_hi(name: str, salutation: str = "Ms."):
        return f"Hello {salutation} {name}"
    ```
    
    您的程序可以像这样执行:
    
    ```mermaid
    sequenceDiagram
    
    participant code as Code
    participant function as say_hi()
    participant execute as Execute function
    
        rect rgba(0, 255, 0, .1)
            code ->> function: say_hi(name="Camila")
            function ->> execute: 执行函数代码
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. docs_src/python_types/tutorial009_py39.py

    from typing import Optional
    
    
    def say_hi(name: Optional[str] = None):
        if name is not None:
            print(f"Hey {name}!")
        else:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 164 bytes
    - Viewed (0)
  3. docs_src/python_types/tutorial009b_py39.py

    from typing import Union
    
    
    def say_hi(name: Union[str, None] = None):
        if name is not None:
            print(f"Hey {name}!")
        else:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 164 bytes
    - Viewed (0)
  4. docs/ru/docs/python-types.md

    ```Python
    say_hi()  # О нет, это вызывает ошибку! 😱
    ```
    
    Параметр `name` всё ещё **обязателен** (не *optional*), потому что у него нет значения по умолчанию. При этом `name` принимает `None` как значение:
    
    ```Python
    say_hi(name=None)  # Это работает, None допустим 🎉
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  5. docs/en/docs/python-types.md

    ```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
    say_hi(name=None)  # This works, None is valid 🎉
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  6. docs/de/docs/python-types.md

    ```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
    say_hi(name=None)  # Das funktioniert, None ist gültig 🎉
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.9K bytes
    - Viewed (1)
  7. docs/pt/docs/python-types.md

    ```Python
    say_hi()  # Oh, no, this throws an error! 😱
    ```
    
    O parâmetro `name` **ainda é obrigatório** (não *opcional*) porque ele não possui um valor padrão. Mesmo assim, `name` aceita `None` como valor:
    
    ```Python
    say_hi(name=None)  # This works, None is valid 🎉
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  8. docs/es/docs/python-types.md

    ```Python
    say_hi()  # ¡Oh, no, esto lanza un error! 😱
    ```
    
    El parámetro `name` sigue siendo **requerido** (no *opcional*) porque no tiene un valor predeterminado. Aún así, `name` acepta `None` como valor:
    
    ```Python
    say_hi(name=None)  # Esto funciona, None es válido 🎉
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 16.4K bytes
    - Viewed (1)
  9. src/main/resources/fess_label_tr.properties

    labels.searchlog_log_type_search_keyword=Anahtar Kelime Sayısı
    labels.searchlog_log_type_search_zerohit=Sıfır Sonuç Sayısı
    labels.searchlog_log_type_search_zeroclick=Sıfır Tıklama Sayısı
    labels.searchlog_log_type_search_count_hour=Arama Sayısı/Saat
    labels.searchlog_log_type_search_count_day=Arama Sayısı/Gün
    labels.searchlog_log_type_search_user_hour=Kullanıcı Sayısı/Saat
    labels.searchlog_log_type_search_user_day=Kullanıcı Sayısı/Gün
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 47K bytes
    - Viewed (0)
  10. src/main/resources/fess_message_tr.properties

    constraints.URL.message = {item} geçerli bir URL değildir.
    constraints.Required.message = {item} gereklidir.
    constraints.TypeInteger.message = {item} bir sayı olmalıdır.
    constraints.TypeLong.message = {item} bir sayı olmalıdır.
    constraints.TypeFloat.message = {item} bir sayı olmalıdır.
    constraints.TypeDouble.message = {item} bir sayı olmalıdır.
    constraints.TypeAny.message = {item}, {propertyType} türüne dönüştürülemez.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 07 21:12:48 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top