def S(self):
        if self.data.day in (11, 12, 13):  # Special case
            return 'th'
        last = self.data.day % 10
        if last == 1:
            return 'st'
        if last == 2:
            return 'nd'
        if last == 3:
            return 'rd'
        return 'th'
Flush dscl cache
dataset/ETHPy150Open django/django/django/utils/dateformat.py/DateFormat.S--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/mac_user.py/_flush_dscl_cache