repr
ReprMode
dunder_methods
__enter__
__exit__
__init__
Set a representation mode for a specific context in the code, by using the
with
an instantiation of this class.
Arguments:
val
- The value of the string, must be either “verbose” or “concise”.