kr.motd.maven.sphinx.dist.babel.languages$py.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sphinx-maven-plugin Show documentation
Show all versions of sphinx-maven-plugin Show documentation
Maven plugin that creates the site with Sphinx
???? 1- f$0 R(Lorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject; org/python/core/PyFrame setline (I)V
babel.core java/lang/String
get_global
org/python/core/imp
importFrom \(Ljava/lang/String;[Ljava/lang/String;Lorg/python/core/PyFrame;I)[Lorg/python/core/PyObject;
setlocal /(Ljava/lang/String;Lorg/python/core/PyObject;)V
org/python/core/PyObject False getname .(Ljava/lang/String;)Lorg/python/core/PyObject;
org/python/core/PyFunction ! f_globals Lorg/python/core/PyObject; # $ % get_official_languages$1^
Get the official language(s) for the given territory.
The language codes, if any are known, are returned in order of descending popularity.
If the `regional` flag is set, then languages which are regionally official are also returned.
If the `de_facto` flag is set, then languages which are "de facto" official are also returned.
.. warning:: Note that the data is as up to date as the current version of the CLDR used
by Babel. If you need scientifically accurate information, use another source!
:param territory: Territory code
:type territory: str
:param regional: Whether to return regionally official languages too
:type regional: bool
:param de_facto: Whether to return de-facto official languages too
:type de_facto: bool
:return: Tuple of language codes
:rtype: tuple[str]
( org/python/core/PyString * fromInterned .(Ljava/lang/String;)Lorg/python/core/PyString; , -
+ . str 0 getglobal 2
3 getlocal (I)Lorg/python/core/PyObject; 5 6
7 __call__ S(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; 9 :
; upper = __getattr__ ?
@ 9(Lorg/python/core/ThreadState;)Lorg/python/core/PyObject; 9 B
C (ILorg/python/core/PyObject;)V E
F set H org/python/core/PyTuple J official L ([Lorg/python/core/PyObject;)V N O
K P __nonzero__ ()Z R S
T add V official_regional X de_facto_official Z territory_languages \ get ^ org/python/core/PyDictionary ` org/python/core/Py b EmptyObjects [Lorg/python/core/PyObject; d e c f
a P m(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; 9 i
j org/python/core/PyList l ()V N n
m o append q items s __iter__ ()Lorg/python/core/PyObject; u v
w unpackSequence 8(Lorg/python/core/PyObject;I)[Lorg/python/core/PyObject; y z
c { official_status } _in 6(Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ?
? population_percent ? __getitem__ ? ?
? __iternext__ ? v
? dellocal ?
? sort ? True ? reverse ? g(Lorg/python/core/ThreadState;[Lorg/python/core/PyObject;[Ljava/lang/String;)Lorg/python/core/PyObject; 9 ?
? tuple ? f$2 f_lasti I ? ? ? java/lang/Object ?
f_savedlocals [Ljava/lang/Object; ? ? ? getGeneratorInput ()Ljava/lang/Object; ? ?
? org/python/core/PyException ? java/lang/Throwable ? None ? $ c ? babel/languages$py ? Lorg/python/core/PyCode; ? ? ? ? j(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;Lorg/python/core/PyObject;)V N ?
" ? java/util/Arrays ? fill (([Ljava/lang/Object;Ljava/lang/Object;)V ? ?
? ? ' ? ? ? get_official_languages ? get_territory_language_info$3
Get a dictionary of language information for a territory.
The dictionary is keyed by language code; the values are dicts with more information.
The following keys are currently known for the values:
* `population_percent`: The percentage of the territory's population speaking the
language.
* `official_status`: An optional string describing the officiality status of the language.
Known values are "official", "official_regional" and "de_facto_official".
.. warning:: Note that the data is as up to date as the current version of the CLDR used
by Babel. If you need scientifically accurate information, use another source!
.. note:: Note that the format of the dict returned may change between Babel versions.
See http://www.unicode.org/cldr/charts/latest/supplemental/territory_language_information.html
:param territory: Territory code
:type territory: str
:return: Language information dictionary
:rtype: dict[str, dict]
? copy ? ? ? ? ? get_territory_language_info ? (Ljava/lang/String;)V org/python/core/PyFunctionTable ?
? o self Lbabel/languages$py; ? ? ? ? ? newCode ?(I[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZZLorg/python/core/PyFunctionTable;I[Ljava/lang/String;[Ljava/lang/String;II)Lorg/python/core/PyCode; ? ?
c ? ? ? ? territory ? regional ? de_facto ?
allowed_stati ? languages ? pairs ? _[37_8] ? info ? language ? _(42_17) ? _(x) ? lang ? _ ? ? getMain ()Lorg/python/core/PyCode; main ([Ljava/lang/String;)V ? N ?
? ? ? ?
? ? org/python/core/CodeLoader ? createSimpleBootstrap 9(Lorg/python/core/PyCode;)Lorg/python/core/CodeBootstrap;
runMain 5(Lorg/python/core/CodeBootstrap;[Ljava/lang/String;)V
c getCodeBootstrap !()Lorg/python/core/CodeBootstrap; #org/python/core/PyRunnableBootstrap )getFilenameConstructorReflectionBootstrap 2(Ljava/lang/Class;)Lorg/python/core/CodeBootstrap;
call_function S(ILorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject;
? '
? ?
? ?
? org/python/core/PyRunnable Lorg/python/compiler/APIVersion; value % Lorg/python/compiler/MTime; `9Q? Lorg/python/compiler/Filename; Y/home/trustin/Workspaces/sphinx-maven-plugin/target/update-sphinx/dist/babel/languages.py org/python/core/ThreadState% ? Code LineNumberTable StackMap
SourceFile RuntimeVisibleAnnotations ! ? ? ? ? ? ' ? ? ? ? ? ( ? ?+?
? N-S-+? N-2:+? :+? ? N+? -__S+? -__S? "Y+? &-? ?)? /? ?N+?-? N+-? ? gN? "Y+? &-? ?ø /? ?N+?-? N+? ?? ?? ) - ' (
a+? )? /W+? +1? 4,+? 8? <>? A,? DN+-? GN+? +I? 4,? KY? YM? /S? Q?