예제 #1
0
파일: defaults.py 프로젝트: katsko/pybbm
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)
예제 #2
0
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)
예제 #3
0
파일: defaults.py 프로젝트: magatz/pybbm
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)