Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in iterable-unpacking

typing: type hinting when function returns tuple with unpacked list

How to reduce the sets in dict values using comprehension?

Is it possible to maintain type information when unpacking object attributes?

Is there a way to test if an Iterable contains a pattern using python's "match" statement?

list of keras callbacks generates error: 'tuple' object has no attribute 'set_model'

What does this expression do: (x, y) = (y, x % y)? [duplicate]

Unpacking tuple directly into class in scala

scala iterable-unpacking

Pythonic way to convert NamedTuple to dict to use for dictionary unpacking (**kwargs) [duplicate]

Unpacking s3.ObjectSummary from bucket.objects.all() iteration

How to pick certain elements of x-tuple returned by a function?

Unpack into the list append method in Python

Python terminology: things to left of "= argv" in Learn Python the Hard Way exercise 13

Using * idiom to unpack arguments when using map()

Weird unpacking in list comprehension [duplicate]

"too many values to unpack (expected 2)" when the len of element in array is more than 2

generate tuple of values from iterables in Python 3

How to define method with optional argument and argument unpacking?

How to define a tuple of randint without repeating code?

Apply function from std::tuple [duplicate]

Unpack only the first few columns from the CSV reader?