Dashboard
PHP:
8.3.30
OS:
Linux
User:
dh_mnqueb
/
/
usr
/
lib
/
python3
/
dist-packages
/
sphinx
/
pycode
/
__pycache__
📤 Upload
📝 New File
📁 New Folder
Close
Editing: parser.cpython-310.pyc
o �$�aR � @ s� d Z ddlZddlZddlZddlZddlmZ ddlmZ ddlm Z m Z mZmZm Z mZmZ ddlmZmZ ddlmZmZmZmZmZ ddlmZ dd lmZmZ e�d �Ze�d�Ze�d�Zd e de fdd�Z!dej"deej# fdd�Z$d&dej"dej%dee fdd�Z&de de fdd�Z'G dd� d�Z(G dd� d�Z)G dd� de)�Z*G d d!� d!ej+�Z,G d"d#� d#e)�Z-G d$d%� d%�Z.dS )'z� sphinx.pycode.parser ~~~~~~~~~~~~~~~~~~~~ Utilities parsing and analyzing Python code. :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. � N)�OrderedDict)� Signature)�DEDENT�INDENT�NAME�NEWLINE�NUMBER�OP�STRING)�COMMENT�NL)�Any�Dict�List�Optional�Tuple)�ast)�parse�unparsez^\s*#: ?(.*) ? ?$z^\s*$z^\s*(#.*)?$�code�returnc C s | � dd�S )N�� )�replace)r � r �6/usr/lib/python3/dist-packages/sphinx/pycode/parser.py�filter_whitespace s r �nodec C s t | tj�r | jS | jgS )z3Get list of targets from Assign and AnnAssign node.)� isinstancer �Assign�targets�target)r r r r �get_assign_targets s r"