Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sourpoi
on June 30, 2014
|
parent
|
context
|
favorite
| on:
Python 3 Features
Slight typo - the sample replacement should read:
def wat(*args) a, b, *args = args
..But I don't see how moving required arguments from the signature to the body (or turning a TypeError into a ValueError) might be useful, or how it differs from the presentation's first advanced unpacking example.
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: