def date_breaks(width):
 (period, units) = parse_break_str(width)
 Locator = LOCATORS.get(units)
 locator = Locator(interval=period)
 return locator

def date_breaks ( width ) : ( period , units ) = parse_break_str ( width ) Locator = LOCATORS . get ( units ) locator = Locator ( interval = period ) return locator
regularly spaced dates parameters width: an interval specification .