ok
Direktori : /opt/alt/python311/lib64/python3.11/__pycache__/ |
Current File : //opt/alt/python311/lib64/python3.11/__pycache__/warnings.cpython-311.opt-1.pyc |
� �fvR � �R � d Z ddlZg d�Zd,d�Zd-d�Zd� Zd� ZeZd� ZeZ d � Z d ed ddfd�Zeddfd �Z d� Zd� Z G d� de� � Zd� Zd� Zd� Zd� Zd� Zd� Zd.d�Z d/d�Z G d� de� � Z G d� de� � ZdZefej d �d!�Zd"� Z dd#l!m"Z"m#Z#m$Z$mZmZm%Z% e#Z&e$Z'd$Z(n# e)$ r g Z"d%Z&i Z'da*d&� Z%dZ(Y nw xY w eej+ � � e(sS e,ed'� � sG ed%e-d(d�)� � e d*e-d�+� � e d*e.d�+� � e d*e/d�+� � e d*e0d�+� � [(dS )0z&Python part of the warnings subsystem.� N)�warn� warn_explicit�showwarning� formatwarning�filterwarnings�simplefilter� resetwarnings�catch_warningsc �L � t | |||||� � }t |� � dS )�7Hook to write a warning to a file; replace if you like.N)�WarningMessage�_showwarnmsg_impl)�message�category�filename�lineno�file�line�msgs �//opt/alt/python311/lib64/python3.11/warnings.pyr r s- � � ��(�H�f�d�D� I� I�C��c������ c �H � t | |||d|� � }t |� � S )�.Function to format a warning the standard way.N)r �_formatwarnmsg_impl)r r r r r r s r r r s'