Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
_ondq
on Jan 4, 2015
|
parent
|
context
|
favorite
| on:
Self Hell in Python
The Pythonic solution is named parameters:
def __init__(self, min=x, max=y):
iterati
on Jan 4, 2015
[–]
Any parameter/argument is named in Python. What you're providing are default values for arguments.
_ondq
on Jan 4, 2015
|
parent
[–]
Of course you are correct. This is why I shouldn't post shortly after waking up.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: