| Server IP : 121.121.20.254 / Your IP : 216.73.217.141 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python312/Lib/test/__pycache__/ |
Upload File : |
�
���g� � �4 � d dl Z d dlZd dlZd dlZd dlZd dlmZ d dlm Z
ej j Z
ej j Z G d� de� Z G d� de j$ � Z G d� d e j$ � Zed
k( r e j, � yy)� N)�Decimal)�Fractionc �P � � e Zd ZdZ� fd�ZeZd� ZeZed� � Z ed� � Z
� xZS )�
DummyIntegralzADummy Integral class to test conversion of the Rational to float.c �4 �� t t �| � |� � S �N)r �super�__mul__)�self�other� __class__s ��,C:\Python312\\Lib\test\test_numeric_tower.pyr
zDummyIntegral.__mul__ s �� ��U�W�_�U�3�4�4� c � � t S r )�NotImplemented�r r s r �__truediv__zDummyIntegral.__truediv__ s � ��r c � � t | � S r �r �r s r � numeratorzDummyIntegral.numerator s
� ��T�"�"r c � � t d� S )N� r r s r �denominatorzDummyIntegral.denominator! s
� ��Q��r )�__name__�
__module__�__qualname__�__doc__r
�__rmul__r �__rtruediv__�propertyr r �
__classcell__)r
s @r r r s@ �� �K�5��H���L�
�#� �#� � � � r r c �<