Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bobbylarrybobby
5 months ago
|
parent
|
context
|
favorite
| on:
Use keyword-only arguments in Python dataclasses
Python would probably just use the asterisk to mimic the syntax used to declare kw-only kwargs.
def f(x,
, y): ...
f(foo, , y)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
def f(x, , y): ...
f(foo, , y)