While reading Python Cookbook I came across these two lines:
from collections import OrderedDict from collections import defaultdict
Now see the naming conventions of the functions in these lines. The first one has CamelCase and the second one has all small caps.
Why are these two named in different style?
I have researched about it on the Internet and frankly I've not found what I was looking for.