Skip to content

Commit 78bb25f

Browse files
shsmsllucax
andauthored
Apply documentation suggestion from code review
Co-authored-by: Leandro Lucarella <[email protected]> Signed-off-by: Sahas Subramanian <[email protected]>
1 parent 35863bb commit 78bb25f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/frequenz/sdk/actor/_power_managing/_bounds.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ def check_exclusion_bounds_overlap(
1515
1616
Example:
1717
18+
```
1819
lower upper
1920
.----- exclusion zone -----.
2021
-----|✓✓✓✓✓✓✓✓✓✓✓✓|xxxxxxxxxxxxxxx|----------|----
@@ -24,6 +25,7 @@ def check_exclusion_bounds_overlap(
2425
lower upper
2526
bound bound
2627
(inside the exclusion zone)
28+
```
2729
2830
Resulting in `(False, True)` because only the upper bound is inside the
2931
exclusion zone.

0 commit comments

Comments
 (0)