Monkeybars is designed to decouple key parts of the MVC tuple.
Monkeybars被设计用来解耦MV c元组的关键部分。
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。
Tuples can be used as keys if they contain only strings, numbers, or tuples; if a tuple contains any mutable object either directly or indirectly, it cannot be used as a key.
如果元组中只包含字符串和数字,它可以做为关键字,如果它直接或间接的包含了可变对象,就不能当做关键字。
应用推荐