库类名的大写 [英] capitalization of library class names

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

问题描述

为什么 collection.defaultdictcollection.OrderedDict 的大小写不同?

Why do collection.defaultdict and collection.OrderedDict have different capitalizations?

是否有一些我应该注意的细微差别?

Is there some subtle difference that I should be aware of?

(P3K)

推荐答案

类名的大小写无关紧要,它没有任何意义.除了 Python 有时会有机地发展并且标准库与其他大型库(如 Win32 API 或 Java 标准库)没有相同的感觉.

The capitalization of the class names is irrelevant, it doesn't signify anything. Except that Python has sometimes grown organically and the standard library doesn't have the same homogenous feel as other large libraries such as the Win32 API or the Java standard library.

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

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