def smile_it(s): warnings.warn( bad_function_warning % {"bad": "pybb.defaults.smile_it", "good": "pybb.markup.base.smile_it"}, DeprecationWarning, ) from pybb.markup.base import smile_it as real_smile_it return real_smile_it(s)
def smile_it(s): warnings.warn( bad_function_warning % { 'bad': 'pybb.defaults.smile_it', 'good': 'pybb.markup.base.smile_it', }, DeprecationWarning) from pybb.markup.base import smile_it as real_smile_it return real_smile_it(s)
def smile_it(s): warnings.warn( bad_function_warning % { 'bad': 'pybb.defaults.smile_it', 'good': 'pybb.markup.base.smile_it', }, DeprecationWarning) from pybb.markup.base import smile_it as real_smile_it return real_smile_it(s)