Skip to content

Commit b83ec6c

Browse files
Clarify param type hints
1 parent d92d0dd commit b83ec6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/code/BCP_Protocol/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ While the BCP protocol was created as part of the MPF project, the intention is
3333
* Parameters are in the format `name=value`
3434
* Parameter names are case-insensitive
3535
* Parameter values are case-sensitive
36-
* Simple parameter values are prefixed with a string that indicates their data type: (`int:`, `float:`, `bool:`, `NoneType:`). For example, the integer 5 would appear in the command string as `int:5`.
36+
* Simple parameter values of the following types are are prefixed with a string that indicates their data type: (`int:`, `float:`, `bool:`, `NoneType:`). For example, the integer 5 would appear in the command string as `int:5`.
3737
* When a command includes one or more complex value types (list or dict) all parameters are encoded using JSON and the resulting encoded value is assigned to the `json:` parameter.
3838
* Parameters are separated by an ampersand (`&`)
3939
* Parameter names and their values are escaped using percent encoding as necessary; (details here).

0 commit comments

Comments
 (0)