Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 20 for generics (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

    And then you won't have to worry about names like `Optional` and `Union`. 😎
    
    #### Generic types { #generic-types }
    
    These types that take type parameters in square brackets are called **Generic types** or **Generics**, for example:
    
    //// tab | Python 3.10+
    
    You can use the same builtin types as generics (with square brackets and types inside):
    
    * `list`
    * `tuple`
    * `set`
    * `dict`
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/TreeMultiset.java

       *
       * <p>The type specification is {@code <E extends Comparable>}, instead of the more specific
       * {@code <E extends Comparable<? super E>>}, to support classes defined without generics.
       */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      public static <E extends Comparable> TreeMultiset<E> create() {
        return new TreeMultiset<>(Ordering.natural());
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 34.3K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/TreeMultiset.java

       *
       * <p>The type specification is {@code <E extends Comparable>}, instead of the more specific
       * {@code <E extends Comparable<? super E>>}, to support classes defined without generics.
       */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      public static <E extends Comparable> TreeMultiset<E> create() {
        return new TreeMultiset<>(Ordering.natural());
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 33.9K bytes
    - Click Count (0)
  4. docs/es/docs/python-types.md

    Y entonces no tendrás que preocuparte por nombres como `Optional` y `Union`. 😎
    
    #### Tipos genéricos { #generic-types }
    
    Estos tipos que toman parámetros de tipo en corchetes se llaman **Tipos Genéricos** o **Genéricos**, por ejemplo:
    
    //// tab | Python 3.10+
    
    Puedes usar los mismos tipos integrados como genéricos (con corchetes y tipos dentro):
    
    * `list`
    * `tuple`
    * `set`
    * `dict`
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 16.4K bytes
    - Click Count (1)
  5. docs/pt/docs/python-types.md

    E então você não precisará mais se preocupar com nomes como `Optional` e `Union`. 😎
    
    #### Tipos genéricos { #generic-types }
    
    Esses tipos que usam parâmetros de tipo entre colchetes são chamados **tipos genéricos** ou **genéricos**. Por exemplo:
    
    //// tab | Python 3.10+
    
    Você pode utilizar os mesmos tipos internos como genéricos (com colchetes e tipos dentro):
    
    * `list`
    * `tuple`
    * `set`
    * `dict`
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  6. doc/go_spec.html

    Type equations are always solved for the bound type parameters only.
    </p>
    
    <p>
    Type inference supports calls of generic functions and assignments
    of generic functions to (explicitly function-typed) variables.
    This includes passing generic functions as arguments to other
    (possibly also generic) functions, and returning generic functions
    as results.
    Type inference operates on a set of equations specific to each of
    these cases.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 02 23:07:19 GMT 2025
    - 286.5K bytes
    - Click Count (1)
  7. docs/zh-hant/llm-prompt.md

    ### `///` admonitions
    
    1) Keep the admonition keyword in English (do not translate `note`, `tip`, etc.).
    2) Many Traditional Chinese docs currently omit titles in `///` blocks; that is OK.
    3) If a generic title is present, prefer these canonical titles:
    
    - `/// note | 注意`
    
    Notes:
    
    - `details` blocks exist; keep `/// details` as-is and translate only the title after `|`.
    - Example canonical titles used in existing docs:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:49:46 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  8. fastapi/exceptions.py

    
    RequestErrorModel: type[BaseModel] = create_model("Request")
    WebSocketErrorModel: type[BaseModel] = create_model("WebSocket")
    
    
    class FastAPIError(RuntimeError):
        """
        A generic, FastAPI-specific error.
        """
    
    
    class DependencyScopeError(FastAPIError):
        """
        A dependency declared that it depends on another dependency with an invalid
        (narrower) scope.
        """
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  9. docs/es/docs/tutorial/response-status-code.md

    * **`400 - 499`** son para responses de "Error del Cliente". Este es el segundo tipo que probablemente más usarías.
        * Un ejemplo es `404`, para un response "Not Found".
        * Para errores genéricos del cliente, puedes usar simplemente `400`.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  10. docs/pt/docs/tutorial/response-status-code.md

    * **`400 - 499`** são para respostas de "Erro do cliente". Este é o segundo tipo que você provavelmente mais usaria.
        * Um exemplo é `404`, para uma resposta "Não encontrado".
        * Para erros genéricos do cliente, você pode usar apenas `400`.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.4K bytes
    - Click Count (0)
Back to Top