• Enter the Boost tuple type.

    Boosttuple类型派上了用场。

    youdao

  • As discussed, the tuple type is an immutable heterogeneous container.

    如文中所述,tuple类型是不可变的异构容器。

    youdao

  • The Python tuple type behaves in a similar manner as a bag in that it can hold different types of objects.

    Python的tuple类型与口袋类似,它可以存放不同类型的对象。

    youdao

  • The tuple type is like a bag into which you throw everything you might need before you head out the door.

    tuple类型像一个口袋,在出门前可以把所需的任何东西一股脑地放在里面。

    youdao

  • For example, the tuple type, while less flexible because it's immutable, is generally much faster than the list type when used in identical situations.

    例如,tuple类型,尽管它是不可变的,灵活性较差,但在同一环境中使用时,它们通常比list类型快得多。

    youdao

  • The rest of this article discusses the tuple type, which serves to introduce many of the fundamental concepts related to creating and using container types in Python.

    本文的其余部分讨论了tuple类型,它用于引入许多与创建和使用Python中的容器类型有关的基本概念。

    youdao

  • The first item in each tuple is a callable object (in this case a method pointer) and the second is a HTTP request type that the method should be called for.

    每个元组的第一项是可调用对象(在这里是一个方法指针),第二项是HTTP请求类型,这种请求类型可以调用该方法。

    youdao

  • The ROW data type can be equated to a table definition: it defines multiple columns that are grouped together into a tuple.

    ROW数据类型可以等同于一个表定义:它定义可以组成一个元组的多个列。

    youdao

  • The contents of a tuple do not all have to be the same type, but one special construct is of a tuple where the first value is an atom.

    一个元组的内容不必都是相同类型的。元组的构造很特殊,其中的第一个值为原子值。

    youdao

  • This version allows scripters to take advantage of the new dynamic type, the push-based IObservable interface, the Tuple class, among the many new features in C# 4.0.

    凭借该版本,脚本编写者可以利用新的动态类型、基于推模式的IObservable接口、Tuple类以及C# 4.0中的众多新特性。

    youdao

  • The Python tutorial has a section on the tuple container type.

    Python指南中有一部分讨论了元组容器类型。

    youdao

  • Then we introduce the concept of a container type and focus on the Python tuple class as the first example of that type.

    然后,我们将介绍容器类型的概念,并且将Pythontuple类作为此类型的第一个示例,进行重点介绍。

    youdao

  • The collection of objects can be any Python container type, including the tuple, string, and list types discussed in earlier articles.

    对象集合可以是任何Python容器类型,包括前面文章中讨论的tuple、string和list类型。

    youdao

  • In Listing 2, you can see that each element in a tuple can be of a different type, but the types in a list must be homogeneous.

    在清单2中,可以看到tuple中的每个元素可以是不同类型的,但列表中的元素必须是相同类型的。

    youdao

  • The key isn't restricted to being an integer; it can be any nonmutable data type, including an integer, float, tuple, or string.

    键并不限制为整数;它可以是任何不易变的数据类型,包括integer、float、tuple或string。

    youdao

  • One common type of list is called a tuple, and as noted, it's immutable.

    一种常用的列表类型是tuple,它是不可变的。

    youdao

  • "Discover Python, Part 2" discusses the Python type hierarchy and provides a discussion of the Python tuple.

    “探索python,第2部分”讨论了python类型的层次结构以及Python tuple。

    youdao

  • This chapter presents one more built-in type, the tuple, and then shows how lists, dictionaries, and tuples work together.

    本章我们要说的是另外一种内置类型,元组,以及列表、字典和元组如何协同工作。

    youdao

  • For example, the following function combines two parameters of any type into a tuple.

    例如,以下函数将任意类型的两个参数合并到一个元组中。

    youdao

  • If values are present, each value can either be a single value of a specified type, or a tuple that aggregates multiple values of the same or different types.

    如果值存在,则每个值既可以是指定类型的单个值,也可以是聚合相同类型或不同类型的多个值的元组。

    youdao

  • It provides helper methods that can be called to instantiate particular tuple objects without requiring that you explicitly specify the type of each tuple component.

    它提供帮助器方法,调用这些方法可以实例化特定元组对象而不需要您显式指定每个元组分量的类型。

    youdao

  • It provides helper methods that can be called to instantiate particular tuple objects without requiring that you explicitly specify the type of each tuple component.

    它提供帮助器方法,调用这些方法可以实例化特定元组对象而不需要您显式指定每个元组分量的类型。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定