Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 40 for tuple (0.13 sec)

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

    #### 🔢 & ⚒
    
    👆 🔜 🎏 📣 `tuple`Ⓜ & `set`Ⓜ:
    
    === "🐍 3️⃣.6️⃣ & 🔛"
    
        ```Python hl_lines="1  4"
        {!> ../../../docs_src/python_types/tutorial007.py!}
        ```
    
    === "🐍 3️⃣.9️⃣ & 🔛"
    
        ```Python hl_lines="1"
        {!> ../../../docs_src/python_types/tutorial007_py39.py!}
        ```
    
    👉 ⛓:
    
    * 🔢 `items_t` `tuple` ⏮️ 3️⃣ 🏬, `int`, ➕1️⃣ `int`, & `str`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  2. docs/es/docs/python-types.md

    El editor aún sabe que es un `str` y provee soporte para ello.
    
    #### Tuples y Sets
    
    Harías lo mismo para declarar `tuple`s y `set`s:
    
    ```Python hl_lines="1  4"
    {!../../../docs_src/python_types/tutorial007.py!}
    ```
    
    Esto significa:
    
    * La variable `items_t` es un `tuple` con 3 ítems, un `int`, otro `int`, y un `str`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  3. docs/bucket/versioning/DESIGN.md

    | ...header_n     | msgp bin array              | Header of last version
    | ...metadata_n   | msgp bin array              | Metadata of last version
    
    Each header contains a mspg array (tuple) encoded object:
    
    xlHeaderVersion version == 1:
    
    ```
    //msgp:tuple xlMetaV2VersionHeader
    type xlMetaV2VersionHeader struct {
     VersionID [16]byte  // Version UUID, raw.
     ModTime   int64     // Unix nanoseconds.
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jul 17 15:43:14 GMT 2022
    - 5.8K bytes
    - Viewed (1)
  4. api/go1.5.txt

    pkg go/types, method (*Struct) Tag(int) string
    pkg go/types, method (*Struct) Underlying() Type
    pkg go/types, method (*Tuple) At(int) *Var
    pkg go/types, method (*Tuple) Len() int
    pkg go/types, method (*Tuple) String() string
    pkg go/types, method (*Tuple) Underlying() Type
    pkg go/types, method (*TypeName) Exported() bool
    pkg go/types, method (*TypeName) Id() string
    pkg go/types, method (*TypeName) Name() string
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  5. api/go1.18.txt

    pkg go/types, func Instantiate(*Context, Type, []Type, bool) (Type, error)
    pkg go/types, func NewContext() *Context
    pkg go/types, func NewSignature //deprecated
    pkg go/types, func NewSignatureType(*Var, []*TypeParam, []*TypeParam, *Tuple, *Tuple, bool) *Signature
    pkg go/types, func NewTerm(bool, Type) *Term
    pkg go/types, func NewTypeParam(*TypeName, Type) *TypeParam
    pkg go/types, func NewUnion([]*Term) *Union
    pkg go/types, method (*ArgumentError) Error() string
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 13K bytes
    - Viewed (0)
  6. docs/bn/docs/python-types.md

        * `list`
        * `tuple`
        * `set`
        * `dict`
    
        এবং Python 3.8 এর মতোই, `typing` মডিউল থেকে:
    
        * `Union`
        * `Optional`
        * ...এবং অন্যান্য।
    
    === "Python 3.8+"
    
        * `List`
        * `Tuple`
        * `Set`
        * `Dict`
        * `Union`
        * `Optional`
        * ...এবং অন্যান্য।
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Apr 03 15:34:37 GMT 2024
    - 36K bytes
    - Viewed (0)
  7. docs/zh/docs/python-types.md

    注意,变量 `item` 是列表 `items` 中的元素之一。
    
    而且,编辑器仍然知道它是一个 `str`,并为此提供了支持。
    
    #### 元组和集合
    
    声明 `tuple` 和 `set` 的方法也是一样的:
    
    ```Python hl_lines="1  4"
    {!../../../docs_src/python_types/tutorial007.py!}
    ```
    
    这表示:
    
    * 变量 `items_t` 是一个 `tuple`,其中的前两个元素都是 `int` 类型, 最后一个元素是 `str` 类型。
    * 变量 `items_s` 是一个 `set`,其中的每个元素都是 `bytes` 类型。
    
    #### 字典
    
    定义 `dict` 时,需要传入两个子类型,用逗号进行分隔。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/admissionregistration/v1/generated.proto

      // List of MutatingWebhookConfiguration.
      repeated MutatingWebhookConfiguration items = 2;
    }
    
    // Rule is a tuple of APIGroups, APIVersion, and Resources.It is recommended
    // to make sure that all the tuple expansions are valid.
    message Rule {
      // APIGroups is the API groups the resources belong to. '*' is all groups.
      // If '*' is present, the length of the slice must be one.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 24.4K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/admissionregistration/v1alpha1/generated.proto

    }
    
    // NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
    // +structType=atomic
    message NamedRuleWithOperations {
      // ResourceNames is an optional white list of names that the rule applies to.  An empty set means that everything is allowed.
      // +listType=atomic
      // +optional
      repeated string resourceNames = 1;
    
      // RuleWithOperations is a tuple of Operations and Resources.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 25.7K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/body-nested-models.md

    ```Python hl_lines="1"
    {!../../../docs_src/body_nested_models/tutorial002.py!}
    ```
    
    ### Declare a `List` com um parâmetro de tipo
    
    Para declarar tipos que têm parâmetros de tipo(tipos internos), como `list`, `dict`, `tuple`:
    
    * Importe os do modulo `typing`
    * Passe o(s) tipo(s) interno(s) como "parâmetros de tipo" usando colchetes: `[` e `]`
    
    ```Python
    from typing import List
    
    my_list: List[str]
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.4K bytes
    - Viewed (0)
Back to top