summaryrefslogtreecommitdiff
path: root/shared-bindings/supervisor/Runtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'shared-bindings/supervisor/Runtime.c')
-rwxr-xr-xshared-bindings/supervisor/Runtime.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/shared-bindings/supervisor/Runtime.c b/shared-bindings/supervisor/Runtime.c
index 05921899c..a420d5b80 100755
--- a/shared-bindings/supervisor/Runtime.c
+++ b/shared-bindings/supervisor/Runtime.c
@@ -30,12 +30,7 @@
//TODO: add USB, REPL to description once they're operational
//| class Runtime:
-//| """.. currentmodule:: supervisor
-//|
-//| :class:`Runtime` --- Supervisor Runtime information
-//| ----------------------------------------------------
-//|
-//| Get current status of runtime objects.
+//| """Current status of runtime objects.
//|
//| Usage::
//|
@@ -50,7 +45,7 @@
//| ...
//|
-//| runtime.serial_connected: Any = ...
+//| serial_connected: bool = ...
//| """Returns the USB serial communication status (read-only).
//|
//| .. note::
@@ -78,7 +73,7 @@ const mp_obj_property_t supervisor_serial_connected_obj = {
};
-//| runtime.serial_bytes_available: Any = ...
+//| serial_bytes_available: int = ...
//| """Returns the whether any bytes are available to read
//| on the USB serial input. Allows for polling to see whether
//| to call the built-in input() or wait. (read-only)"""