We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fd998c commit dc3053bCopy full SHA for dc3053b
README.md
@@ -81,7 +81,7 @@ You write the following code.
81
switch = {
82
1: method_on_one,
83
2: method_on_two,
84
- 3, method_on_three
+ 3: method_three
85
}
86
87
result = switch.get(value, defult_method_to_run)()
@@ -138,4 +138,4 @@ while True:
138
```
139
140
Personally, I much prefer to read and write the one above. That's why I wrote this module.
141
-It seems to convey the intent of switch way more than the dict. But either are options.
+It seems to convey the intent of switch way more than the dict. But either are options.
0 commit comments