库类名的大写

库类名的大写

问题描述:

为什么 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.