![JAR search and dependency download from the Maven repository](/logo.png)
kr.motd.maven.sphinx.dist.requests._internal_utils$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__ ?
requests._internal_utils
~~~~~~~~~~~~~~
Provides utility functions that are consumed internally by Requests
which depend on extremely few external helpers (such as compat)
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
compat java/lang/String is_py2 builtin_str str org/python/core/imp !
importFrom \(Ljava/lang/String;[Ljava/lang/String;Lorg/python/core/PyFrame;I)[Lorg/python/core/PyObject; # $
" % setlocal '
( org/python/core/PyObject * ascii , org/python/core/PyFunction . f_globals Lorg/python/core/PyObject; 0 1 2 to_native_string$1 ?Given a string object, regardless of type, returns a representation of
that string in the native string type, encoding and decoding where
necessary. This assumes ASCII unless told otherwise.
5
isinstance 7 getglobal .(Ljava/lang/String;)Lorg/python/core/PyObject; 9 :
; getlocal (I)Lorg/python/core/PyObject; = >
? __call__ m(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; A B
+ C __nonzero__ ()Z E F
+ G (ILorg/python/core/PyObject;)V ' I
J encode L __getattr__ N :
+ O S(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; A Q
+ R decode T f_lasti I V W X requests/_internal_utils$py Z Lorg/python/core/PyCode; 4 \ [ ] j(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;Lorg/python/core/PyObject;)V _ `
/ a to_native_string c org/python/core/Py e EmptyObjects [Lorg/python/core/PyObject; g h f i unicode_is_ascii$2 ?Determine if unicode string only contains ASCII characters.
:param str u_string: unicode string to check. Must be unicode
and not Python 2 `str`.
:rtype: bool
l __debug__ n None p 1 f q AssertionError s
makeException S(Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyException; u v
f w True y setException M(Ljava/lang/Throwable;Lorg/python/core/PyFrame;)Lorg/python/core/PyException; { |
f } UnicodeEncodeError org/python/core/PyException ? match (Lorg/python/core/PyObject;)Z ? ?
? ? False ? java/lang/Throwable ? k \ [ ? unicode_is_ascii ? (Ljava/lang/String;)V org/python/core/PyFunctionTable ? ()V _ ?
? ? self Lrequests/_internal_utils$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; ? ?
f ? \ [ ? string ? encoding ? out ? u_string ? getMain ()Lorg/python/core/PyCode; main ([Ljava/lang/String;)V Z _ ?
[ ? ? ?
[ ? org/python/core/CodeLoader ? createSimpleBootstrap 9(Lorg/python/core/PyCode;)Lorg/python/core/CodeBootstrap; ? ?
? ? runMain 5(Lorg/python/core/CodeBootstrap;[Ljava/lang/String;)V ? ?
f ? 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;
[ ? 4
[ ? k
[ ? org/python/core/PyRunnable ? Lorg/python/compiler/APIVersion; value % Lorg/python/compiler/MTime; `9?? Lorg/python/compiler/Filename; b/home/trustin/Workspaces/sphinx-maven-plugin/target/update-sphinx/dist/requests/_internal_utils.py org/python/core/ThreadState ? Code LineNumberTable StackMap
SourceFile RuntimeVisibleAnnotations ! [ ? ? ? ? \ 4 \ k \ ? ? ?+? ? + ? ? W+? ? N-S-S- S-+? &N-2:+? ):-2:+? ):-2:+ ? ):+? ? +N-? -__S? /Y+? 3-? ^6? ? bN+d-? )N+? ? jN? /Y+? 3-? ?m? ? bN+?-? )N+? Y? r? ? 4 ? ?+? 6? W+? +8? <,+? @+?