Next / Previous / Contents / Shipman's homepage

11.6. fixAbbr(): Standardize a bird code

abbr.py
# - - -   f i x A b b r

def fixAbbr(abbr):
    '''Standardize a bird code.
    '''
    return abbr.upper().ljust(ABBR_L)