docs: python bindings howto DITA
* Updated the example code for the groups work around to actually do what the documentation said (instead of having all results match group_lists).
This commit is contained in:
parent
dea1ccbc02
commit
34308fe1fc
@ -22,11 +22,13 @@ for i in range(len(lines)):
|
|||||||
|
|
||||||
groups = line.split(":")[-1].replace('"', '').split(',')
|
groups = line.split(":")[-1].replace('"', '').split(',')
|
||||||
|
|
||||||
group_lines = groups
|
group_lines = []
|
||||||
for i in range(len(group_lines)):
|
group_lists = []
|
||||||
group_lines[i] = group_lines[i].split("=")
|
|
||||||
|
for i in range(len(groups)):
|
||||||
|
group_lines.append(groups[i].split("="))
|
||||||
|
group_lists.append(groups[i].split("="))
|
||||||
|
|
||||||
group_lists = group_lines
|
|
||||||
for i in range(len(group_lists)):
|
for i in range(len(group_lists)):
|
||||||
group_lists[i][1] = group_lists[i][1].split()
|
group_lists[i][1] = group_lists[i][1].split()
|
||||||
</codeblock>
|
</codeblock>
|
||||||
|
Loading…
Reference in New Issue
Block a user