Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for subjectifs (0.08 seconds)

  1. docs/fr/docs/advanced/advanced-python-types.md

            print(f"Hi {name}!")
    ```
    
    `typing` propose également un raccourci pour déclarer que quelque chose peut être `None`, avec `Optional`.
    
    Voici un conseil issu de mon point de vue très subjectif :
    
    - 🚨 Évitez d'utiliser `Optional[SomeType]`
    - À la place ✨ **utilisez `Union[SomeType, None]`** ✨.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/TestSubjectGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * To be implemented by test generators that can produce test subjects without requiring any
     * parameters.
     *
     * @param <T> the type created by this generator.
     * @author George van den Driessche
     */
    @GwtCompatible
    @NullMarked
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  3. docs/en/docs/advanced/advanced-python-types.md

    
    def say_hi(name: Union[str, None]):
            print(f"Hi {name}!")
    ```
    
    `typing` also has a shortcut to declare that something could be `None`, with `Optional`.
    
    Here's a tip from my very **subjective** point of view:
    
    * 🚨 Avoid using `Optional[SomeType]`
    * Instead ✨ **use `Union[SomeType, None]`** ✨.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 2K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/TestSubjectGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * To be implemented by test generators that can produce test subjects without requiring any
     * parameters.
     *
     * @param <T> the type created by this generator.
     * @author George van den Driessche
     */
    @GwtCompatible
    @NullMarked
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.1K bytes
    - Click Count (0)
Back to Top