403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.109
Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10
System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64
User : SERVERWEB ( 0)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  C:/cygwin64/lib/python3.9/site-packages/sphinx/domains/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/cygwin64/lib/python3.9/site-packages/sphinx/domains/__pycache__/math.cpython-39.opt-1.pyc
a

�ab��@sdZddlmZmZmZmZmZmZmZddl	m
Z
ddlmZm
Z
mZmZddlmZddlmZddlmZddlmZdd	lmZdd
lmZddlmZer�ddlmZdd
l m!Z!e�"e#�Z$Gdd�de�Z%Gdd�de�Z&dee'efd�dd�Z(dS)z�
    sphinx.domains.math
    ~~~~~~~~~~~~~~~~~~~

    The math domain.

    :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�)�
TYPE_CHECKING�Any�Dict�Iterable�List�Optional�Tuple)�nodes)�Element�Node�make_id�system_message)�pending_xref)�Domain)�BuildEnvironment)�__)�XRefRole)�logging)�make_refnode)�Sphinx)�Builderc@s4eZdZejeeeee	e
e	efd�dd�ZdS)�MathReferenceRole)�document�env�node�is_ref�returncCsd|d<|ggfS)N�mathZ	refdomain�)�selfrrrrrr�7/usr/lib/python3.9/site-packages/sphinx/domains/math.py�result_nodes!szMathReferenceRole.result_nodesN)
�__name__�
__module__�__qualname__r	rrr
�boolrrrr
r!rrrr r s�rc
@s2eZdZUdZdZdZiid�Zeed<ddiZ	e
jdiZd	e
�iZeeeeeeffd
�dd��Zd(eeed
d�dd�Zeed�dd�Zeee
jd
d�dd�Zed
d�dd�Zeeed
d�dd�Zeedeeeeeed�dd �Z eedeeee!eeefd!�d"d#�Z"e!d
�d$d%�Z#d)ee$d�d&d'�Z%d
S)*�
MathDomainzMathematics domain.rZmathematics)�objects�
has_equations�initial_data�eqzequation not found: %(target)s)�displaymathNZnumref)rcCs|j�di�S)Nr')�data�
setdefault�rrrr �	equations:szMathDomain.equationsN)�docname�labelid�locationrcCsP||jvr2|j|d}tjtd�||f|d�||j�d�df|j|<dS)Nrz4duplicate label of equation %s, other instance in %s�r2�eqno�)r/�logger�warningrrZnew_serialno)rr0r1r2�otherrrr �
note_equation>s

��zMathDomain.note_equation)r1rcCs ||jvr|j|dSdSdS)Nr5)r/)rr1rrr �get_equation_number_forFs
z"MathDomain.get_equation_number_for)rr0rrcCs,ttd�dd�}t|�|��|jd|<dS)N)rrcSst|tjtjf�S�N)�
isinstancer	r�
math_block)rrrr �	math_nodeNsz)MathDomain.process_doc.<locals>.math_noder()rr%�any�findallr,)rrr0rr>rrr �process_docLszMathDomain.process_doc)r0rcCsBt|j���D]\}\}}||kr|j|=q|jd�|d�dS)Nr()�listr/�itemsr,�pop)rr0Zequation_id�docZ_eqnorrr �	clear_docSs
zMathDomain.clear_doc)�docnames�	otherdatarcCsT|d��D]"\}\}}||vr||f|j|<q|D]}|d||jd|<q4dS)Nr'r()rCr/r,)rrGrHr1rEr4r0rrr �merge_domaindataZs
zMathDomain.merge_domaindatar)r�fromdocname�builder�typ�targetr�contnoderc
Cs|j�|d�\}}	|r�td|�}
|jjrj|jjrj||jvrd|j|d�|
d�}d�tt	|��}qrd}nt	|	�}z"|jj
p~d}
t�|
j
|d��}WnTty�}z<tjtd	�||d
�t�d|	�}t�d|	�}WYd}~n
d}~00t||||
|�SdSdS)N)NNzequation-%sr+r�.�z
({number}))�numberzInvalid math_eqref_format: %rr3z(%d))r/�getrZconfigZmath_numfigZnumfigZtoc_fignumbers�join�map�strZmath_eqref_formatr	�Text�format�KeyErrorr6r7rr)rrrJrKrLrMrrNr0rQZnode_idZnumbersr4Zeqref_format�title�excrrr �resolve_xrefbs(
�$zMathDomain.resolve_xref)rrJrKrMrrNrc	Cs0|�|||d|||�}|dur"gSd|fgSdS)Nr*)r[)rrrJrKrMrrNZrefnoderrr �resolve_any_xrefszMathDomain.resolve_any_xrefcCsgSr;rr.rrr �get_objects�szMathDomain.get_objectscCs,|r|jd�|d�St|jd���SdS)Nr(F)r,rRr?�values)rr0rrr r(�szMathDomain.has_equations)N)N)&r"r#r$�__doc__�nameZlabelr)r�__annotations__Zdangling_warningsr	r=Zenumerable_nodesrZroles�propertyrUr�intr/rr9r:rrrArFrrIrr
rr[rr\r]r%r(rrrr r&'s>
���� ���	r&r)�apprcCs*|�t�|�dtdd��ddddd�S)Nr*T)Z
warn_danglingZbuiltin�)�versionZenv_versionZparallel_read_safeZparallel_write_safe)Z
add_domainr&Zadd_roler)rdrrr �setup�s
�rgN))r_�typingrrrrrrrZdocutilsr	Zdocutils.nodesr
rrr
Zsphinx.addnodesrZsphinx.domainsrZsphinx.environmentrZ
sphinx.localerZsphinx.rolesrZsphinx.utilrZsphinx.util.nodesrZsphinx.applicationrZsphinx.buildersrZ	getLoggerr"r6rr&rUrgrrrr �<module>s"
$
k

Youez - 2016 - github.com/yon3zu
LinuXploit