|
Server IP : 2a02:4780:2b:1556:0:9c6:43c4:d / Your IP : 216.73.217.117 Web Server : LiteSpeed System : Linux us-bos-web1456.main-hosting.eu 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64 User : u163988420 ( 163988420) PHP Version : 8.5.4 Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail, proc_open MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF Directory (0755) : /home/../lib64/xtables/../traceevent/../python3.6/__pycache__/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
3
\( � @ s� d Z ddlmZmZ dddddgZG dd� ded �ZG d
d� de�Zeje� G dd� de�Z e je
� G dd� de �ZG d
d� de�Zeje
� dS )z~Abstract Base Classes (ABCs) for numbers, according to PEP 3141.
TODO: Fill out more detailed documentation on the operators.� )�ABCMeta�abstractmethod�Number�Complex�Real�Rational�Integralc @ s e Zd ZdZf ZdZdS )r z�All numbers inherit from this class.
If you just want to check if an argument x is a number, without
caring what kind, use isinstance(x, Number).
N)�__name__�
__module__�__qualname__�__doc__� __slots__�__hash__� r r �/usr/lib64/python3.6/numbers.pyr s )� metaclassc @ s� e Zd ZdZf Zedd� �Zdd� Zeedd� ��Z eedd � ��Z
ed
d� �Zedd
� �Zedd� �Z
edd� �Zdd� Zdd� Zedd� �Zedd� �Zedd� �Zedd� �Zedd� �Zed d!� �Zed"d#� �Zed$d%� �Zed&d'� �Zd(S ))r aa Complex defines the operations that work on the builtin complex type.
In short, those are: a conversion to complex, .real, .imag, +, -,
*, /, abs(), .conjugate, ==, and !=.
If it is given heterogenous arguments, and doesn't have special
knowledge about them, it should fall back to the builtin complex
type as described below.
c C s dS )z<Return a builtin complex instance. Called for complex(self).Nr )�selfr r r �__complex__- s zComplex.__complex__c C s | dkS )z)True if self != 0. Called for bool(self).r r )r r r r �__bool__1 s zComplex.__bool__c C s t �dS )zXRetrieve the real component of this number.
This should subclass Real.
N)�NotImplementedError)r r r r �real5 s zComplex.realc C s t �dS )z]Retrieve the imaginary component of this number.
This should subclass Real.
N)r )r r r r �imag>