Skip to content

Commit 4ef26c1

Browse files
committed
doc: Fix up a few docs in sys module.
1 parent 30dd23a commit 4ef26c1

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

py/modsys.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,16 @@ extern struct _dummy_t mp_sys_exit_obj;
4949

5050
extern mp_obj_int_t mp_maxsize_obj;
5151

52-
// TODO document these, they aren't constants or functions...
52+
// TODO document these properly, they aren't constants or functions...
53+
/// \constant path - a mutable list of directories to search for imported modules
5354
mp_obj_list_t mp_sys_path_obj;
55+
/// \constant argv - a mutable list of arguments this program started with
5456
mp_obj_list_t mp_sys_argv_obj;
5557

5658
/// \constant version - Python language version that this implementation conforms to, as a string
5759
STATIC const MP_DEFINE_STR_OBJ(version_obj, "3.4.0");
5860

59-
/// \constant version - Python language version that this implementation conforms to, as a tuple of ints
61+
/// \constant version_info - Python language version that this implementation conforms to, as a tuple of ints
6062
#define I(n) MP_OBJ_NEW_SMALL_INT(n)
6163
// TODO: CPython is now at 5-element array, but save 2 els so far...
6264
STATIC const mp_obj_tuple_t mp_sys_version_info_obj = {{&mp_type_tuple}, 3, {I(3), I(4), I(0)}};

0 commit comments

Comments
 (0)