Le mardi 16 janvier 2018 16:37:29 UTC+1, smarie a écrit : > > > validate is_foo_compliant(x) or is_bar_compliant(x) > ValidationError(message) >
This was a typo in this case since we use the base ValidationError it even
would simplify to
validate is_foo_compliant(x) or is_bar_compliant(x), message
_______________________________________________ Python-ideas mailing list [email protected] https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/
