fix errors in python appdev guide for defineXMLFlags and create methods

The guide discusses the defineDomain method, but all of the examples use defineXMLFlags.

The code example for create() requires no arguments, but in the example an argument is incorrectly shown. When used as shown in the example the following error is thrown:

Traceback (most recent call last): File "./example8.py", line 22, in if dom.create(dom) < 0: TypeError: create() takes 1 positional argument but 2 were given

removing the argument "dom" resolves the issue and allows processing of the conditional.

Signed-off-by: Tom Ammon thomasammon@gmail.com

Edited by Tom Ammon

Merge request reports

Loading