@@ -44,21 +44,21 @@ Identifiers are integers in the range 0 to 5 inclusive.
4444Registering and using tools
4545'''''''''''''''''''''''''''
4646
47- .. function :: use_tool_id(id : int, name: str) -> None
47+ .. function :: use_tool_id(tool_id : int, name: str) -> None
4848
49- Must be called before *id * can be used.
50- *id * must be in the range 0 to 5 inclusive.
51- Raises a :exc: `ValueError ` if *id * is in use.
49+ Must be called before *tool_id * can be used.
50+ *tool_id * must be in the range 0 to 5 inclusive.
51+ Raises a :exc: `ValueError ` if *tool_id * is in use.
5252
53- .. function :: free_tool_id(id : int) -> None
53+ .. function :: free_tool_id(tool_id : int) -> None
5454
55- Should be called once a tool no longer requires *id *.
55+ Should be called once a tool no longer requires *tool_id *.
5656
57- .. function :: get_tool(id : int) -> str | None
57+ .. function :: get_tool(tool_id : int) -> str | None
5858
59- Returns the name of the tool if *id * is in use,
59+ Returns the name of the tool if *tool_id * is in use,
6060 otherwise it returns ``None ``.
61- *id * must be in the range 0 to 5 inclusive.
61+ *tool_id * must be in the range 0 to 5 inclusive.
6262
6363All IDs are treated the same by the VM with regard to events, but the
6464following IDs are pre-defined to make co-operation of tools easier::
0 commit comments