Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rcfox
on April 5, 2014
|
parent
|
context
|
favorite
| on:
Say “no” to import side‐effects in Python
If you pass verbose=True to namedtuple(), you can see that it's essentially just defining a new class. This is something that people already do at the top level of a module.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: