Maurin3 / odoo_utils

Modules to make easier the development of Odoo modules

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

custom_safe_eval : add pprint function

Maurin3 opened this issue · comments

As print function is used here :

_BUILTINS['print'] = print

maybe add the pprint function.

Like said in Python docs,pprint is just a function that "pretty-print"s a variable or a message.
The pprint is really useful when using dictionaries.

Commit message was changed because of wrong module name in the commit message