Skip to content

Commit 57e3f01

Browse files
talestoniniulysses4ever
authored andcommitted
Small fix in Guards section
1 parent 7221272 commit 57e3f01

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source_md/syntax-in-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ A guard can be one of two things.
288288
The first is basically a boolean expression.
289289
If it evaluates to `True`, then the corresponding function body is used.
290290
If it evaluates to `False`, checking drops through to the next guard and so on.
291-
If we call this function with `24.3`, it will first check if that's smaller than or equal to `1.2`.
291+
If we call this function with `24.3`, it will first check if that's smaller than `1.2`.
292292
Because it isn't, it falls through to the next guard.
293293
The check is carried out with the second guard and because `24.3` is less than `1000.0`, the second string is returned.
294294

0 commit comments

Comments
 (0)