Next / Previous / Contents / Shipman's homepage

11.9. BirdId.standardize()

This function standardizes a bird code, uppercasing it and right-padding with blanks if necessary.

abbr.py
# - - -   B i r d I d . s t a n d a r d i z e   - - -

    def standardize ( self, abbr ):
        """Standardize a bird code."""
        return fixAbbr(abbr)