Skip to content

Commit 4f618b6

Browse files
committed
Remove wildcard import
1 parent a265eb2 commit 4f618b6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/programming/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The following two lines are required to complete initialisation of the
1212
kit:
1313

1414
``` python
15-
from sbot import *
15+
from sbot import Robot
1616

1717
robot = Robot()
1818
```

docs/tutorials/basic-movement.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Doing this is actually very easy; the only thing you need to realise is that a p
1212
Here's the code:
1313

1414
```python
15-
from sbot import *
15+
from sbot import Robot
1616

1717
robot = Robot()
1818

@@ -50,7 +50,7 @@ So, if you put the above code on your robot, you should be able to see a motor s
5050
Now we're going to modify the program to vary the speed of the motor. Our aim is to do the forwards and backwards bit (as above), but, before we loop round again, ramp the power up to 70%, then down to -70%, and then back to 0 (all in steps of 10%). Here's the code:
5151

5252
```python
53-
from sbot import *
53+
from sbot import Robot
5454

5555
robot = Robot()
5656

0 commit comments

Comments
 (0)