Skip to content

Commit 8799e04

Browse files
authored
Merge pull request #306 from srobo/fix/zone-range
Fix range of values for `Robot.zone`
2 parents a40cb89 + c72c862 commit 8799e04

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

programming/sr/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ From here in, if you see a `R.something`, the requirement of the `sr.robot3` imp
6161
As well as the attributes listed above, the Robot class also has the following attributes, which you may find useful:
6262

6363
zone
64-
: The number of the zone that the robot is associated with. Either `0` or `1`.
64+
: The number of the zone that the robot is associated with. Between `0` and `3`.
6565

6666
mode
6767
: Either "comp" or "dev". When in a competition match, this will be "comp", and at all other times this will be "dev".

troubleshooting/python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ As you can see, this could often be more helpful.
4444
Other causes of syntax errors to look out for are:
4545

4646
* Missing colons at the end of `def`s, `if`s, `for`s, etc.
47-
* Using the wrong number of `=` signs (see the [Variables](#variables) section)
47+
* Using the wrong number of `=` signs (see the [Variables](/docs/tutorials/python#variables) section)
4848
* Missing brackets (e.g. `x = 5 * (3+2`).
4949
* For those outside of the U.K., the decimal point is a period (`.`), not a comma (`,`)
5050

0 commit comments

Comments
 (0)