
kr.motd.maven.sphinx.dist.bs4.dammit$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
???? 15 f$0 R(Lorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject; __doc__ BBeautiful Soup bonus library: Unicode, Dammit
This library converts a bytestream to Unicode through any means
necessary. It is heavily based on code from Mark Pilgrim's Universal
Feed Parser. It works best on XML and HTML, but it does not rewrite the
XML or HTML to reflect a new encoding; that's the tree builder's job.
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
MIT __license__ setlocal
codecs org/python/core/imp importOne H(Ljava/lang/String;Lorg/python/core/PyFrame;I)Lorg/python/core/PyObject; " #
! $ htmlentitydefs & java/lang/String ( codepoint2name *
importFrom \(Ljava/lang/String;[Ljava/lang/String;Lorg/python/core/PyFrame;I)[Lorg/python/core/PyObject; , -
! . re 0 logging 2 string 4 None 6 getname .(Ljava/lang/String;)Lorg/python/core/PyObject; 8 9
: chardet_type < cchardet > org/python/core/Py @ EmptyObjects [Lorg/python/core/PyObject; B C A D org/python/core/PyFunction F f_globals Lorg/python/core/PyObject; H I J chardet_dammit$1 getglobal M 9
N detect P org/python/core/PyObject R __getattr__ T 9
S U getlocal (I)Lorg/python/core/PyObject; W X
Y __call__ S(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; [ \
S ] encoding _ __getitem__ 6(Lorg/python/core/PyObject;)Lorg/python/core/PyObject; a b
S c f_lasti I e f g
bs4/dammit$py i Lorg/python/core/PyCode; L k j l j(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;Lorg/python/core/PyObject;)V n o
G p chardet_dammit r setException M(Ljava/lang/Throwable;Lorg/python/core/PyFrame;)Lorg/python/core/PyException; t u
A v ImportError x org/python/core/PyException z match (Lorg/python/core/PyObject;)Z | }
{ ~ chardet ? chardet_dammit$2 ? k j ? chardet_dammit$3 ? k j ? java/lang/Throwable ? iconv_codec ? compile ? !^<\?.*encoding=['"](.*?)['"].*\?> ? encode ? 9(Lorg/python/core/ThreadState;)Lorg/python/core/PyObject; [ ?
S ? f m(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; [ ?
S ? xml_encoding_re ? 0<\s*meta[^>]+charset\s*=\s*["']?([^>]*?)[ /;'">] ? html_meta_re ? object ? EntitySubstitution ? EntitySubstitution$4
__module__ ? __name__ ? ASubstitute XML or HTML entities for the corresponding characters. ? _populate_class_variables$5 org/python/core/PyDictionary ? ([Lorg/python/core/PyObject;)V n ?
? ? (ILorg/python/core/PyObject;)V ?
? org/python/core/PyList ?
? ? list ? items ? __iter__ ()Lorg/python/core/PyObject; ? ?
S ? unpackSequence 8(Lorg/python/core/PyObject;I)[Lorg/python/core/PyObject; ? ?
A ? unichr ?
newInteger (I)Lorg/python/core/PyInteger; ? ?
A ? _ne ? b
S ? __nonzero__ ()Z ? ?
S ? append ? __setitem__ 7(Lorg/python/core/PyObject;Lorg/python/core/PyObject;)V ? ?
S ? __iternext__ ? ?
S ? [%s] ? ? join ? _mod ? b
S ? org/python/core/PyTuple ?
? ? ? k j ? _populate_class_variables ? CHARACTER_TO_HTML_ENTITY ? HTML_ENTITY_TO_CHARACTER ? CHARACTER_TO_HTML_ENTITY_RE ? ' ? apos ? " ? quot ? & ? amp ? < ? lt ? > ? gt CHARACTER_TO_XML_ENTITY &([<>]|&(?!#\d+;|#x[0-9a-fA-F]+;|\w+;)) BARE_AMPERSAND_OR_BRACKET ([<>&]) AMPERSAND_OR_BRACKET
_substitute_html_entity$6 get
group &%s; k j classmethod _substitute_html_entity _substitute_xml_entity$7 mUsed with a regular expression to substitute the
appropriate XML entity for an XML special character. k j _substitute_xml_entity quoted_attribute_value$8*Make a value into a quoted XML attribute, possibly escaping it.
Most strings will be quoted using double quotes.
Bob's Bar -> "Bob's Bar"
If a string contains double quotes, it will be quoted using
single quotes.
Welcome to "my bar" -> 'Welcome to "my bar"'
If a string contains both single and double quotes, the
double quotes will be escaped, and the string will be quoted
using double quotes.
Welcome to "Bob's Bar" -> "Welcome to "Bob's bar"
! _in# b
S$ "& replace( _add* b
S+ k j- quoted_attribute_value/ False1 substitute_xml$9Substitute XML entities for special XML characters.
:param value: A string to be substituted. The less-than sign
will become <, the greater-than sign will become >,
and any ampersands will become &. If you want ampersands
that appear to be part of an entity definition to be left
alone, use substitute_xml_containing_entities() instead.
:param make_quoted_attribute: If True, then the string will be
quoted, as befits an attribute value.
4 sub63 k j8 substitute_xml: %substitute_xml_containing_entities$10?Substitute XML entities for special XML characters.
:param value: A string to be substituted. The less-than sign will
become <, the greater-than sign will become >, and any
ampersands that are not part of an entity defition will
become &.
:param make_quoted_attribute: If True, then the string will be
quoted, as befits an attribute value.
=<