命名元组可变性 [英] named tuple mutability

查看:60
本文介绍了命名元组可变性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很担心Python的未来。是否应该命名元组?

I''m concerned over the future of Python. Should tuples be named?

推荐答案

> *是否应该命名元组?


是的。

>*Should tuples be named?

Yes.


5月14日,12:41 * pm,Raymond Hettinger< pyt ... @ rcn.comwrote:
On May 14, 12:41*pm, Raymond Hettinger <pyt...@rcn.comwrote:

*是否应该命名元组?
*Should tuples be named?



是的。


Yes.



不清楚应该。序列应该是。如果你在正确的时间

两个,那么图书馆不能拿B吗?

Not clearly should. Sequences ought be. If you''re on the right time
for both, can''t the library hold the B?


5月14日,1 :04 * pm,castiro ... @ gmail.com写道:
On May 14, 1:04*pm, castiro...@gmail.com wrote:

5月14日,12:41 * pm,Raymond Hettinger< pyt ... @ rcn.comwrote:
On May 14, 12:41*pm, Raymond Hettinger <pyt...@rcn.comwrote:

> *是否应该命名元组?
>*Should tuples be named?


是的。
Yes.



不清楚应该。 *序列应该是。 *如果你在正确的时间

两者,那么图书馆不能拿B吗?


Not clearly should. *Sequences ought be. *If you''re on the right time
for both, can''t the library hold the B?



在网络上,你可以。这两种数据类型都可以在文档中找到...抱歉这是疯狂的,我是黑客攻击。

On the web, you can. Both data types can go in the docs... sorry for
the lunacy, I''m hacking.


这篇关于命名元组可变性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆