def make_rw(obj: Any):
if isinstance(obj, RoDict):<EOL><INDENT>return {k: make_rw(v) for k, v in obj.items()}<EOL><DEDENT>elif isinstance(obj, RoList):<EOL><INDENT>return [make_rw(x) for x in obj]<EOL><DEDENT>else:<EOL><INDENT>return obj<EOL><DEDENT>
Copy a RO object into a RW structure made with standard Python classes.

WARNING there is no protection against recursion.