StackOverflow Questions for Tag: argument-unpacking

Dario Colombotto
Dario Colombotto

Reputation: 339

Why do parentheses affect multiple-argument unpacking?

Score: 2

Views: 69

Answers: 2

Read More
Cai
Cai

Reputation: 2139

Can I unpack/destructure a typing.NamedTuple?

Score: 5

Views: 6199

Answers: 1

Read More
psihodelia
psihodelia

Reputation: 30512

What do ** (double star/asterisk) and * (star/asterisk) mean in a function call?

Score: 815

Views: 290312

Answers: 5

Read More
PlasmaBinturong
PlasmaBinturong

Reputation: 2284

Unpacking the last arguments with star spread operator in Groovy closure

Score: 0

Views: 33

Answers: 1

Read More
Aliza Hashmi
Aliza Hashmi

Reputation: 1

Unpacking Tuples into two tuples

Score: 0

Views: 63

Answers: 3

Read More
Todd
Todd

Reputation: 36010

What does ** (double star/asterisk) and * (star/asterisk) do for parameters?

Score: 3465

Views: 1488703

Answers: 28

Read More
Rubem Pacelli
Rubem Pacelli

Reputation: 201

`mypy` doesn't allow unpacking

Score: 2

Views: 228

Answers: 1

Read More
Jai K
Jai K

Reputation: 395

Use single arg to pass a list or two separate values in python function

Score: 0

Views: 87

Answers: 3

Read More
6EQUJ5
6EQUJ5

Reputation: 199

Conditional Argument Expansion in Function Call

Score: 2

Views: 220

Answers: 2

Read More
mickmackusa
mickmackusa

Reputation: 48031

Splatpacking versus array_values() to re-index an array with numeric keys

Score: -5

Views: 1603

Answers: 2

Read More
user23234689
user23234689

Reputation:

Is it possible to unpack/destructure class attributes into variables?

Score: 3

Views: 117

Answers: 2

Read More
monre
monre

Reputation: 135

how to define in C++20 a concept to check if a type matches any of the types in a type-list

Score: 10

Views: 703

Answers: 1

Read More
redbull_nowings
redbull_nowings

Reputation: 111

Got an unexpected keyword argument, genuinely stumped

Score: 0

Views: 2040

Answers: 2

Read More
OhWizz3
OhWizz3

Reputation: 21

C++ Variadic Template Unpacking

Score: 2

Views: 130

Answers: 1

Read More
Mateo Vial
Mateo Vial

Reputation: 710

How to "pack" a variable amount of outputs from a function in Lua?

Score: 4

Views: 537

Answers: 1

Read More
Jeremy
Jeremy

Reputation: 1835

Pass in argument to function by name dynamically

Score: 4

Views: 4848

Answers: 2

Read More
Ragdoll Car
Ragdoll Car

Reputation: 144

Unpack variadic template to initializer_list and call two functions at once

Score: 5

Views: 117

Answers: 3

Read More
Seon Il
Seon Il

Reputation: 43

How can I unpack variadic template, so as to initialize respective members?

Score: 2

Views: 217

Answers: 1

Read More
Jack Franklin
Jack Franklin

Reputation: 3765

Passing an array/list into a Python function

Score: 66

Views: 434910

Answers: 6

Read More
Jaquarh
Jaquarh

Reputation: 6693

Cannot unpack array with string keys

Score: 63

Views: 63592

Answers: 3

Read More
PreviousPage 1Next