Skip to content

Python3 print needs parentheses

Created by: MatBarba

Description

(Second version of #338, against master this time) Add parentheses to the "print" call in the rest API documentation for Python 3 (in case of plain text result).

Use case

Python3 needs parentheses for "print", contrary to Python2. Users copying-pasting the example code are currently getting an syntax error.

Benefits

No syntax error for users...

Possible Drawbacks

None.

Testing

No tests changed: only a doc template was modified.

Merge request reports