kr.motd.maven.sphinx.dist.libfuturize.fixes.fix_cmp$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; __doc__ ?
Fixer for the cmp() function on Py2, which was removed in Py3.
Adds this import line::
from past.builtins import cmp
if cmp() is called in the code.
org/python/core/PyString fromInterned .(Ljava/lang/String;)Lorg/python/core/PyString;
org/python/core/PyFrame
setglobal /(Ljava/lang/String;Lorg/python/core/PyObject;)V
setline (I)V
__future__ java/lang/String unicode_literals org/python/core/imp
importFrom \(Ljava/lang/String;[Ljava/lang/String;Lorg/python/core/PyFrame;I)[Lorg/python/core/PyObject;
! setlocal #
$ lib2to3 &
fixer_base ( libfuturize.fixer_util * touch_import_top ,
name='cmp' . org/python/core/PyUnicode 0 /(Ljava/lang/String;)Lorg/python/core/PyUnicode; 2
1 3
expression 5 org/python/core/PyObject 7 getname .(Ljava/lang/String;)Lorg/python/core/PyObject; 9 :
; BaseFix = __getattr__ ? :
8 @ FixCmp B FixCmp$1
__module__ E __name__ G True I
BM_compatible K org/python/core/Py M
newInteger (I)Lorg/python/core/PyInteger; O P
N Q run_order S s
power<
({0}) trailer< '(' args=[any] ')' >
rest=any* >
U format W __call__ S(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; Y Z
8 [ PATTERN ] EmptyObjects [Lorg/python/core/PyObject; _ ` N a org/python/core/PyFunction c f_globals Lorg/python/core/PyObject; e f g transform$2 getlocal (I)Lorg/python/core/PyObject; j k
l name n __getitem__ 6(Lorg/python/core/PyObject;)Lorg/python/core/PyObject; p q
8 r (ILorg/python/core/PyObject;)V # t
u getglobal w :
x
past.builtins z value | ?(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; Y ~
8 f_lasti I ? ? ? None ? f N ? libfuturize/fixes/fix_cmp$py ? Lorg/python/core/PyCode; i ? ? ? j(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;Lorg/python/core/PyObject;)V ? ?
d ? transform ? getf_locals ()Lorg/python/core/PyObject; ? ?
? D ? ? ? makeClass a(Ljava/lang/String;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;)Lorg/python/core/PyObject; ? ?
N ? java/util/Arrays ? fill (([Ljava/lang/Object;Ljava/lang/Object;)V ? ?
? ? (Ljava/lang/String;)V org/python/core/PyFunctionTable ? ()V ? ?
? ? self Llibfuturize/fixes/fix_cmp$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; ? ?
N ? ? ? ? ? node ? results ? getMain ()Lorg/python/core/PyCode; main ([Ljava/lang/String;)V ? ? ?
? ? ? ?
? ? org/python/core/CodeLoader ? createSimpleBootstrap 9(Lorg/python/core/PyCode;)Lorg/python/core/CodeBootstrap; ? ?
? ? runMain 5(Lorg/python/core/CodeBootstrap;[Ljava/lang/String;)V ? ?
N ? 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;
? ? D
? ? i
? ? org/python/core/PyRunnable ? Lorg/python/compiler/APIVersion; % Lorg/python/compiler/MTime; `9 K? Lorg/python/compiler/Filename; c/home/trustin/Workspaces/sphinx-maven-plugin/target/update-sphinx/dist/libfuturize/fixes/fix_cmp.py org/python/core/ThreadState ? Code LineNumberTable StackMap
SourceFile RuntimeVisibleAnnotations ! ? ? ? ? ? ? D ? i ? ? ?+? ? +
? ? W+? ? N-S-+? "N-2:+? %:+
? '? N-)S-+? "N-2:+)? %:+? +? N--S-+? "N-2:+-? %:+? /? 4N+6-? %N+? ? 8N+)? <>? A-__SC-? ?? ?:+C? %:-? ?+? ?? ?? ?
D ? ? ?+F+H?