Glossary: Data Structures and Algorithms
Tuple unpacking
Also written: unpacking, unpack
Splitting a tuple into separate variables in one statement, such as `a, b = b, a` to swap two values or `day, cafe = heappop(orders)`.
Glossary: Data Structures and Algorithms
Also written: unpacking, unpack
Splitting a tuple into separate variables in one statement, such as `a, b = b, a` to swap two values or `day, cafe = heappop(orders)`.