Skip to content

Commit dc3053b

Browse files
authored
: not ,
1 parent 9fd998c commit dc3053b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ You write the following code.
8181
switch = {
8282
1: method_on_one,
8383
2: method_on_two,
84-
3, method_on_three
84+
3: method_three
8585
}
8686

8787
result = switch.get(value, defult_method_to_run)()
@@ -138,4 +138,4 @@ while True:
138138
```
139139

140140
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.
141+
It seems to convey the intent of switch way more than the dict. But either are options.

0 commit comments

Comments
 (0)