Python Professional — Hard
Key points
- Instances of Config have independent tag lists
- Modifying one instance's tag list doesn't affect others
- default_factory=list creates a new list for each instance
Ready to go further?
Related questions
Python Professional — Hard
Key points
Ready to go further?
Related questions