Repository URL to install this package:
|
Version:
0.4.192 ▾
|
lib-py-b2b
/
base.py
|
|---|
from pprint import pformat
class BaseClass:
def __repr__(self):
return "<" + type(self).__name__ + "> " + pformat(vars(self), indent=2, width=1)
def __str__(self):
return pformat(vars(self), indent=2, width=1)