Skip to content

Commit 9ef6bb5

Browse files
committed
docs/machine: Move machine.main() misnomer to wipy's known issues.
1 parent a8ece03 commit 9ef6bb5

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

docs/library/machine.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,6 @@ Miscellaneous functions
8585

8686
.. only:: port_wipy
8787

88-
.. function:: main(filename)
89-
90-
Set the filename of the main script to run after boot.py is finished. If
91-
this function is not called then the default file main.py will be executed.
92-
93-
It only makes sense to call this function from within boot.py.
94-
9588
.. function:: rng()
9689

9790
Return a 24-bit software generated random number.

docs/wipy/general.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,3 +296,13 @@ Example::
296296
...
297297
hash.update('12345') # last chunk may be of any length
298298
hash.digest()
299+
300+
Unrelated function in machine module
301+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
302+
303+
.. function:: main(filename)
304+
305+
Set the filename of the main script to run after boot.py is finished. If
306+
this function is not called then the default file main.py will be executed.
307+
308+
It only makes sense to call this function from within boot.py.

0 commit comments

Comments
 (0)