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.
33
33
| hash_file | Hash a file using built-in packages |
34
34
| hex_decode | Get bytes-like string from hex |
35
35
| 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 |
36
37
| keep_metadata_on_decorator_usage | Keep functions metadata after decoration |
37
38
| list_unpacking | Unpacking a list using the ` * ` operator |
38
39
| 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