Skip to content

Commit 950351f

Browse files
committed
Drop remaining references to loop() Python entry-point
Resolves: #1
1 parent d4775ad commit 950351f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

content/docs/modules/pyscript.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def run():
9191

9292

9393
def stop():
94-
"""This function is called once a run is stopped, by the user, and error or when
95-
the loop() function returned False."""
94+
"""This function is called once a run is stopped
95+
(by the user, or if an error occurred)."""
9696
pass
9797
```

content/tutorials/D2_new-python-module.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ name that is displayed in the Syntalos GUI.
8686
## 4. Write your code
8787

8888
After setting all metadata, it is time to actually write your module's code!
89-
Open `mod-main.py` for an example. The Python module has the same familiar `prepare()`, `start()`, `loop()` and `stop()`
89+
Open `mod-main.py` for an example. The Python module has the same familiar `prepare()`, `start()`, `run()` and `stop()`
9090
functions like a Python Script module, that Syntalos will call at the appropriate time.
9191
Ports are also accessed the same way, and data is also submitted the same way. Refer to the [syntalos_mlink API documentation]({{< ref "/docs/pysy-mlink-api" >}})
9292
for a full reference of all available methods.

0 commit comments

Comments
 (0)