| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Python312/Lib/site-packages/bs4/__pycache__/ |
Upload File : |
�
V �g� � �V � d Z ddlmZ G d� de� Z G d� de� Z G d� de� Zy )
z,Exceptions defined by Beautiful Soup itself.� )�Unionc � � e Zd ZdZy)�StopParsingzEException raised by a TreeBuilder if it's unable to continue parsing.N��__name__�
__module__�__qualname__�__doc__� � �0C:\Python312\Lib\site-packages\bs4/exceptions.pyr r s � �Or r c � � e Zd ZdZy)�FeatureNotFoundzmException raised by the BeautifulSoup constructor if no parser with the
requested features is found.
Nr r r r
r r
s � �r r c �2 � � e Zd ZdZdeeef f� fd�Z� xZS )�ParserRejectedMarkupzgAn Exception to be raised when the underlying parser simply
refuses to parse the given markup.
�message_or_exceptionc � �� t |t � r&|}|j j �dt |� ��}t
t | � |� y)zzExplain why the parser rejected the given markup, either
with a textual explanation or another exception.
z: N)�
isinstance� Exception� __class__r �str�superr �__init__)�selfr �er s �r
r zParserRejectedMarkup.__init__ s? �� � �*�I�6�$�A�/0�{�{�/C�/C�S��V�#L� �
�"�D�2�3G�Hr ) r r r r
r r r r �
__classcell__)r s @r
r r s% �� ��I�U�3� �>�-B� I� Ir r N)r
�typingr r r �
ValueErrorr r r r r
�<module>r s3 �� 2� �P�)� P��j� �I�9� Ir