# -*- coding: utf-8 -*-


def tstrip(s):
    return s.strip() if isinstance(s, basestring) else s