# -*- coding: utf-8 -*-
import sys
import traceback

__all__ = ['my_format_exc']

if sys.version_info[0] >= 3:

    def my_format_exc(e):
        return str(e)
else:
    def my_format_exc(e):
        return traceback.format_exc(e)

