Skip to content

Python3 print needs parentheses

Marek Szuba requested to merge github/fork/MatBarba/mbarba/python3_print into master

Created by: MatBarba

Description

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