print() and str() generics.
These are constructed to be more easily extensible since you can override
the _header()
, _data()
or _footer()
components individually. The
default methods are built on top of format()
.
obj_print(x, ...) obj_print_header(x, ...) obj_print_data(x, ...) obj_print_footer(x, ...) obj_str(x, ...) obj_str_header(x, ...) obj_str_data(x, ...) obj_str_footer(x, ...)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.