Where can I find the CPython source code for collections.defaultdict? I don't see the class definition in collections/__init__.py.
Asked
Active
Viewed 282 times
0
-
2First in the source file you link to: `from _collections import defaultdict`. Then see [finding _collections in python source](https://stackoverflow.com/questions/18075250/finding-collections-in-python-source). – Some programmer dude Jul 26 '21 at 03:56