/usr/lib/python2.6/site-packages/babel
Edit: /usr/lib/python2.6/site-packages/babel/localedata.pyc (7563B)
Ñò
zDVc @ sÈ d Z d d k Z d d k Z d d k l Z d d k l Z h Z e i ƒ Z e i
i e i
i e
ƒ d ƒ Z d „ Z d „ Z e d „ Z d „ Z d
e f d „ ƒ YZ d e f d
„ ƒ YZ d S( sB
babel.localedata
~~~~~~~~~~~~~~~~
Low-level locale data access.
:note: The `Locale` class, which uses this module under the hood, provides a
more convenient interface for accessing the locale data.
:copyright: (c) 2013 by the Babel Team.
:license: BSD, see LICENSE for more details.
iÿÿÿÿN( t MutableMapping( t picklet
localedatac C s5 | t j o t St i i t i i t d | ƒ ƒ S( s² Check whether locale data is available for the given locale. Ther
return value is `True` if it exists, `False` otherwise.
:param name: the locale identifier string
s %s.dat( t _cachet Truet ost patht existst joint _dirname( t name( ( s/ /tmp/pip-build-lt8jXN/Babel/babel/localedata.pyR s
c C ss g } g } t i t ƒ D] } | t i i | ƒ q ~ D]1 \ } } | d j o | d j o | | q; q; ~ S( s¦ Return a list of all locale identifiers for which locale data is
available.
.. versionadded:: 0.8.1
:return: a list of locale identifiers (strings)
s .datt root( R t listdirR R t splitext( t _[1]t _[2]t filenamet stemt extension( ( s/ /tmp/pip-build-lt8jXN/Babel/babel/localedata.pyt locale_identifiers&