37
37
//| serial connection and the optional secondary connection."""
38
38
//|
39
39
40
- //| def get_secondary_terminal() -> Any :
40
+ //| def get_secondary_terminal() -> secondary_terminal :
41
41
//| """Returns the current secondary terminal."""
42
42
//| ...
43
43
//|
@@ -46,7 +46,7 @@ STATIC mp_obj_t multiterminal_obj_get_secondary_terminal() {
46
46
}
47
47
MP_DEFINE_CONST_FUN_OBJ_0 (multiterminal_get_secondary_terminal_obj , multiterminal_obj_get_secondary_terminal );
48
48
49
- //| def set_secondary_terminal(stream: stream) -> Any :
49
+ //| def set_secondary_terminal(stream: stream) -> None :
50
50
//| """Read additional input from the given stream and write out back to it.
51
51
//| This doesn't replace the core stream (usually UART or native USB) but is
52
52
//| mixed in instead.
@@ -68,7 +68,7 @@ STATIC mp_obj_t multiterminal_obj_set_secondary_terminal(mp_obj_t secondary_term
68
68
}
69
69
MP_DEFINE_CONST_FUN_OBJ_1 (multiterminal_set_secondary_terminal_obj , multiterminal_obj_set_secondary_terminal );
70
70
71
- //| def clear_secondary_terminal() -> Any :
71
+ //| def clear_secondary_terminal() -> None :
72
72
//| """Clears the secondary terminal."""
73
73
//| ...
74
74
//|
@@ -78,7 +78,7 @@ STATIC mp_obj_t multiterminal_obj_clear_secondary_terminal() {
78
78
}
79
79
MP_DEFINE_CONST_FUN_OBJ_0 (multiterminal_clear_secondary_terminal_obj , multiterminal_obj_clear_secondary_terminal );
80
80
81
- //| def schedule_secondary_terminal_read(socket: Any ) -> Any :
81
+ //| def schedule_secondary_terminal_read(socket: secondary_terminal ) -> None :
82
82
//| """In cases where the underlying OS is doing task scheduling, this notifies
83
83
//| the OS when more data is available on the socket to read. This is useful
84
84
//| as a callback for lwip sockets."""
0 commit comments