Why do collection.defaultdict and collection.OrderedDict have different capitalizations?
collection.defaultdict
collection.OrderedDict
Is there some subtle difference that I should be aware of?
(P3K)
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.
1.4m articles
1.4m replys
5 comments
57.0k users