拍爱

strip_utils.py 98B

123456
  1. # -*- coding: utf-8 -*-
  2. def tstrip(s):
  3. return s.strip() if isinstance(s, basestring) else s