File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ A collection of useful snippets using only the standard library.
3333| hash_file | Hash a file using built-in packages |
3434| hex_decode | Get bytes-like string from hex |
3535| human_readable_bytecode | Print the bytecode representations in a human readble format |
36+ | iterable_unpacking | Unpack an iterable and assigns its elements to multiple variables |
3637| keep_metadata_on_decorator_usage | Keep functions metadata after decoration |
3738| list_unpacking | Unpacking a list using the ` * ` operator |
3839| max_int_in_list_of_str | Get the largest number from a list of strings |
Original file line number Diff line number Diff line change 1+ numbers = [1 , 2 , 3 ]
2+ x , y , z = numbers
3+ print (x )
4+ print (y )
5+ print (z )
You can’t perform that action at this time.
0 commit comments