error_readonly#

pybrops.core.error.error_attr_python.error_readonly(vname)[source]#

Subroutine to raise a read-only AttributeError with a custom error message.

Parameters:

vname (str) – Name of a variable.