heat.common.i18n module

heat.common.i18n module

heat.common.i18n.repr_wrapper(klass)[source]

A decorator that defines __repr__ method under Python 2.

Under Python 2 it will encode repr return value to str type. Under Python 3 it does nothing.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.