(localetuple)
Builds a locale code from the given tuple (language code,
        encoding).

        No aliasing or normalizing takes place.
Builds a locale code from the given tuple (language code,
        encoding).
Builds a locale code from the given tuple ( language code encoding ) .
def _build_localename(localetuple):

    """ Builds a locale code from the given tuple (language code,
        encoding).

        No aliasing or normalizing takes place.

    """
    language, encoding = localetuple
    if language is None:
        language = 'C'
    if encoding is None:
        return language
    else:
        return language + '.' + encoding
def _build_localename ( localetuple ) : language , encoding = localetuple if language is None : language = 'C' if encoding is None : return language else : return language + '.' + encoding