Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for choice (0.15 sec)

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

    As Python advances, **newer versions** come with improved support for these type annotations and in many cases you won't even need to import and use the `typing` module to declare the type annotations.
    
    If you can choose a more recent version of Python for your project, you will be able to take advantage of that extra simplicity.
    
    In all the docs there are examples compatible with each version of Python (when there's a difference).
    
    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)
  2. docs/fr/docs/python-types.md

    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial002.py!}
    ```
    
    À ne pas confondre avec la déclaration de valeurs par défaut comme ici :
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    C'est une chose différente.
    
    On utilise un deux-points (`:`), et pas un égal (`=`).
    
    Et ajouter des annotations de types ne crée normalement pas de différence avec le comportement qui aurait eu lieu si elles n'étaient pas là.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.3K bytes
    - Viewed (0)
Back to top