←back to thread

105 points _ZeD_ | 1 comments | | HN request time: 0.211s | source
Show context
andy99 ◴[] No.44538191[source]

  def u(**kwargs):
    return tuple(kwargs.values())
Am I missing something, is this effectively the same?

*I realize the tuple can be omitted here

replies(4): >>44538290 #>>44538355 #>>44539536 #>>44539641 #
1. masklinn ◴[] No.44539641[source]
TFA looks things up by key, and allows pulling a subset of the dict.