/opt/imh/python3.13/lib/python3.13/__pycache__
NameSizeModeActions
abc.cpython-313.pyc79280644editdlrm
antigravity.cpython-313.pyc10000644editdlrm
argparse.cpython-313.pyc1040800644editdlrm
ast.cpython-313.pyc1030860644editdlrm
base64.cpython-313.pyc258320644editdlrm
bdb.cpython-313.pyc405800644editdlrm
bisect.cpython-313.pyc35120644editdlrm
bz2.cpython-313.pyc151800644editdlrm
calendar.cpython-313.pyc397080644editdlrm
cmd.cpython-313.pyc189770644editdlrm
code.cpython-313.pyc157990644editdlrm
codecs.cpython-313.pyc405720644editdlrm
codeop.cpython-313.pyc66550644editdlrm
colorsys.cpython-313.pyc45190644editdlrm
compileall.cpython-313.pyc206150644editdlrm
configparser.cpython-313.pyc689660644editdlrm
contextlib.cpython-313.pyc305090644editdlrm
contextvars.cpython-313.pyc2760644editdlrm
copy.cpython-313.pyc106450644editdlrm
copyreg.cpython-313.pyc75510644editdlrm
cProfile.cpython-313.pyc86790644editdlrm
csv.cpython-313.pyc207150644editdlrm
dataclasses.cpython-313.pyc478390644editdlrm
datetime.cpython-313.pyc4260644editdlrm
decimal.cpython-313.pyc30170644editdlrm
difflib.cpython-313.pyc720550644editdlrm
dis.cpython-313.pyc475320644editdlrm
doctest.cpython-313.pyc1076920644editdlrm
enum.cpython-313.pyc858660644editdlrm
filecmp.cpython-313.pyc150420644editdlrm
fileinput.cpython-313.pyc206480644editdlrm
fnmatch.cpython-313.pyc68190644editdlrm
fractions.cpython-313.pyc383840644editdlrm
ftplib.cpython-313.pyc423460644editdlrm
functools.cpython-313.pyc422860644editdlrm
genericpath.cpython-313.pyc78260644editdlrm
getopt.cpython-313.pyc84790644editdlrm
getpass.cpython-313.pyc73260644editdlrm
gettext.cpython-313.pyc225760644editdlrm
glob.cpython-313.pyc236810644editdlrm
graphlib.cpython-313.pyc102120644editdlrm
gzip.cpython-313.pyc319930644editdlrm
hashlib.cpython-313.pyc82910644editdlrm
heapq.cpython-313.pyc177850644editdlrm
hmac.cpython-313.pyc106750644editdlrm
imaplib.cpython-313.pyc626620644editdlrm
inspect.cpython-313.pyc1365370644editdlrm
io.cpython-313.pyc42900644editdlrm
ipaddress.cpython-313.pyc919790644editdlrm
keyword.cpython-313.pyc10560644editdlrm
linecache.cpython-313.pyc85670644editdlrm
locale.cpython-313.pyc590140644editdlrm
lzma.cpython-313.pyc157330644editdlrm
mailbox.cpython-313.pyc1187480644editdlrm
mimetypes.cpython-313.pyc249130644editdlrm
modulefinder.cpython-313.pyc284070644editdlrm
netrc.cpython-313.pyc93410644editdlrm
ntpath.cpython-313.pyc284840644editdlrm
nturl2path.cpython-313.pyc27520644editdlrm
numbers.cpython-313.pyc140470644editdlrm
opcode.cpython-313.pyc40770644editdlrm
operator.cpython-313.pyc173800644editdlrm
optparse.cpython-313.pyc675940644editdlrm
os.cpython-313.pyc458640644editdlrm
pdb.cpython-313.pyc1061180644editdlrm
pickle.cpython-313.pyc784190644editdlrm
pickletools.cpython-313.pyc804420644editdlrm
pkgutil.cpython-313.pyc199740644editdlrm
platform.cpython-313.pyc446900644editdlrm
plistlib.cpython-313.pyc431130644editdlrm
poplib.cpython-313.pyc184400644editdlrm
posixpath.cpython-313.pyc181150644editdlrm
pprint.cpython-313.pyc297130644editdlrm
profile.cpython-313.pyc225780644editdlrm
pstats.cpython-313.pyc378720644editdlrm
pty.cpython-313.pyc74200644editdlrm
pyclbr.cpython-313.pyc151590644editdlrm
pydoc.cpython-313.pyc1397200644editdlrm
py_compile.cpython-313.pyc100840644editdlrm
queue.cpython-313.pyc173480644editdlrm
quopri.cpython-313.pyc95750644editdlrm
random.cpython-313.pyc352710644editdlrm
reprlib.cpython-313.pyc111750644editdlrm
rlcompleter.cpython-313.pyc85870644editdlrm
runpy.cpython-313.pyc144060644editdlrm
sched.cpython-313.pyc76120644editdlrm
secrets.cpython-313.pyc25190644editdlrm
selectors.cpython-313.pyc263700644editdlrm
shelve.cpython-313.pyc133060644editdlrm
shlex.cpython-313.pyc148670644editdlrm
shutil.cpython-313.pyc674670644editdlrm
signal.cpython-313.pyc45590644editdlrm
site.cpython-313.pyc316620644editdlrm
smtplib.cpython-313.pyc473750644editdlrm
socket.cpython-313.pyc422340644editdlrm
socketserver.cpython-313.pyc346670644editdlrm
sre_compile.cpython-313.pyc6420644editdlrm
sre_constants.cpython-313.pyc6450644editdlrm
sre_parse.cpython-313.pyc6380644editdlrm
ssl.cpython-313.pyc652190644editdlrm
stat.cpython-313.pyc55380644editdlrm
statistics.cpython-313.pyc711130644editdlrm
string.cpython-313.pyc116660644editdlrm
stringprep.cpython-313.pyc252750644editdlrm
struct.cpython-313.pyc3400644editdlrm
subprocess.cpython-313.pyc819690644editdlrm
symtable.cpython-313.pyc232110644editdlrm
tabnanny.cpython-313.pyc124320644editdlrm
tarfile.cpython-313.pyc1258450644editdlrm
tempfile.cpython-313.pyc410080644editdlrm
textwrap.cpython-313.pyc179490644editdlrm
this.cpython-313.pyc14270644editdlrm
threading.cpython-313.pyc633120644editdlrm
timeit.cpython-313.pyc146530644editdlrm
token.cpython-313.pyc35880644editdlrm
tokenize.cpython-313.pyc254490644editdlrm
trace.cpython-313.pyc339780644editdlrm
traceback.cpython-313.pyc721390644editdlrm
tracemalloc.cpython-313.pyc274280644editdlrm
tty.cpython-313.pyc26790644editdlrm
turtle.cpython-313.pyc1751510644editdlrm
types.cpython-313.pyc155600644editdlrm
typing.cpython-313.pyc1545970644editdlrm
uuid.cpython-313.pyc323970644editdlrm
warnings.cpython-313.pyc295530644editdlrm
wave.cpython-313.pyc332520644editdlrm
weakref.cpython-313.pyc318180644editdlrm
webbrowser.cpython-313.pyc269010644editdlrm
zipapp.cpython-313.pyc104090644editdlrm
zipimport.cpython-313.pyc265220644editdlrm
_aix_support.cpython-313.pyc47320644editdlrm
_android_support.cpython-313.pyc76370644editdlrm
_apple_support.cpython-313.pyc34970644editdlrm
_collections_abc.cpython-313.pyc467080644editdlrm
_colorize.cpython-313.pyc40260644editdlrm
_compat_pickle.cpython-313.pyc72070644editdlrm
_compression.cpython-313.pyc78200644editdlrm
_ios_support.cpython-313.pyc27310644editdlrm
_markupbase.cpython-313.pyc124480644editdlrm
_opcode_metadata.cpython-313.pyc106930644editdlrm
_osx_support.cpython-313.pyc181420644editdlrm
_pydatetime.cpython-313.pyc945900644editdlrm
_pydecimal.cpython-313.pyc2170580644editdlrm
_pyio.cpython-313.pyc1117930644editdlrm
_pylong.cpython-313.pyc111730644editdlrm
_py_abc.cpython-313.pyc72070644editdlrm
_sitebuiltins.cpython-313.pyc49170644editdlrm
_strptime.cpython-313.pyc345000644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-313.pyc585830644editdlrm
_threading_local.cpython-313.pyc55380644editdlrm
_weakrefset.cpython-313.pyc120640644editdlrm
__future__.cpython-313.pyc47370644editdlrm
__hello__.cpython-313.pyc9810644editdlrm
Edit: /opt/imh/python3.13/lib/python3.13/__pycache__/numbers.cpython-313.pyc (14047B)
e-SrSSKJrJr /SQr"SS\S9r"SS\5r\R\5 "S S \5r \ R\ 5 "S S \ 5r "S S\ 5r \ R\ 5 g)z~Abstract Base Classes (ABCs) for numbers, according to PEP 3141. TODO: Fill out more detailed documentation on the operators.)ABCMetaabstractmethod)NumberComplexRealRationalIntegralc \rSrSrSrSrSrSrg)r%zAll 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____firstlineno____doc__ __slots____hash____static_attributes__r -/opt/imh/python3.13/lib/python3.13/numbers.pyrr%s IHrr) metaclasscB\rSrSrSrSr\S5rSr\ \S55r \ \S55r \S5r \S 5r \S 5r\S 5rS rS r\S5r\S5r\S5r\S5r\S5r\S5r\S5r\S5r\S5rSrg)r9aNComplex 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 heterogeneous arguments, and doesn't have special knowledge about them, it should fall back to the builtin complex type as described below. r cg)zrArDrGrJrNrRrUrXr[rr rrrr9smIKK""""""""""""""""""""""""""""""rrc\rSrSrSrSr\S5r\S5r\S5r \S5r \SS j5r S r S r \S 5r\S 5r\S5r\S5r\S5r\S5rSr\S5r\S5rSrSrg)rzTo Complex, Real adds the operations that work on real numbers. In short, those are: a conversion to float, trunc(), divmod, %, <, <=, >, and >=. Real also provides defaults for the derived operations. r c[e)zLAny Real can be converted to a native float object. Called for float(self).r#rs r __float__Real.__float__ "!rc[e)atrunc(self): Truncates self to an Integral. Returns an Integral i such that: * i > 0 iff self > 0; * abs(i) <= abs(self); * for any Integral j satisfying the first two conditions, abs(i) >= abs(j) [i.e. i has "maximal" abs among those]. i.e. "truncate towards 0". r#rs r __trunc__Real.__trunc__s "!rc[e)z$Finds the greatest Integral <= self.r#rs r __floor__Real.__floor__r0rc[e)z!Finds the least Integral >= self.r#rs r__ceil__ Real.__ceil__r0rNc[e)zRounds self to ndigits decimal places, defaulting to 0. If ndigits is omitted or None, returns an Integral, otherwise returns a Real. Rounds half toward even. r#)rndigitss r __round__Real.__round__r'rcX-X-4$)zdivmod(self, other): The pair (self // other, self % other). Sometimes this can be computed faster than the pair of operations. r r,s r __divmod__Real.__divmod__s  t|,,rcX-X-4$)zdivmod(other, self): The pair (other // self, other % self). Sometimes this can be computed faster than the pair of operations. r r,s r __rdivmod__Real.__rdivmod__s  u|,,rc[e)z)self // other: The floor() of self/other.r#r,s r __floordiv__Real.__floordiv__r0rc[e)z)other // self: The floor() of other/self.r#r,s r __rfloordiv__Real.__rfloordiv__r0rc[e)z self % otherr#r,s r__mod__ Real.__mod__r0rc[e)z other % selfr#r,s r__rmod__ Real.__rmod__r0rc[e)zJself < other < on Reals defines a total ordering, except perhaps for NaN.r#r,s r__lt__ Real.__lt__rcrc[e)z self <= otherr#r,s r__le__ Real.__le__ r0rc*[[U55$)z(complex(self) == complex(float(self), 0))complexfloatrs rrReal.__complex__suT{##rcU7$)z&Real numbers are their real component.r rs rr% Real.real u rcg)z)Real numbers have no imaginary component.rr rs rr) Real.imagrcU7$)zConjugate is a no-op for Reals.r rs rrXReal.conjugates u rN)r rrrrrrrarerhrkrorrrurxr{r~rrrrr]r%r)rXrr rrrrs$I""  " """""""--"""""""""" "" $rrcV\rSrSrSrSr\\S55r\\S55r Sr Sr g)ri$zTo Real, Rational adds numerator and denominator properties. The numerator and denominator values should be in lowest terms, with a positive denominator. r c[e)z3The numerator of a rational number in lowest terms.r#rs r numeratorRational.numerator-s "!rc[e)z\The denominator of a rational number in lowest terms. This denominator should be positive. r#rs r denominatorRational.denominator3r'rcX[UR5[UR5- $)zfloat(self) = self.numerator / self.denominator It's important that this conversion use the integer's "true" division rather than casting one side to float before dividing so that ratios of huge integers convert without overflowing. )intrrrs rraRational.__float__=s#4>>"S)9)9%:::rN) r rrrrrr]rrrrarr rrrr$sI I """";rrc\rSrSrSrSr\S5rSr\SSj5r \S5r \S 5r \S 5r \S 5r \S 5r\S 5r\S5r\S5r\S5r\S5r\S5rSr\S5r\S5rSrg)r iHzIntegral adds methods that work on integral numbers. In short, these are conversion to int, pow with modulus, and the bit-string operations. r c[e)z int(self)r#rs r__int__Integral.__int__Qr0rc[U5$)z6Called whenever an index is needed, such as in slicing)rrs r __index__Integral.__index__Vs 4yrNc[e)a self ** exponent % modulus, but maybe faster. Accept the modulus argument if you want to support the 3-argument version of pow(). Raise a TypeError if exponent < 0 or any argument isn't Integral. Otherwise, just implement the 2-argument version described in Complex. r#)rrMmoduluss rrNIntegral.__pow__Zs "!rc[e)z self << otherr#r,s r __lshift__Integral.__lshift__er0rc[e)z other << selfr#r,s r __rlshift__Integral.__rlshift__jr0rc[e)z self >> otherr#r,s r __rshift__Integral.__rshift__or0rc[e)z other >> selfr#r,s r __rrshift__Integral.__rrshift__tr0rc[e)z self & otherr#r,s r__and__Integral.__and__yr0rc[e)z other & selfr#r,s r__rand__Integral.__rand__~r0rc[e)z self ^ otherr#r,s r__xor__Integral.__xor__r0rc[e)z other ^ selfr#r,s r__rxor__Integral.__rxor__r0rc[e)z self | otherr#r,s r__or__Integral.__or__r0rc[e)z other | selfr#r,s r__ror__Integral.__ror__r0rc[e)z~selfr#rs r __invert__Integral.__invert__r0rc*[[U55$)zfloat(self) == float(int(self)))rrrs rraIntegral.__float__sSYrcU7$)z"Integers are their own numerators.r rs rrIntegral.numeratorrrcg)z!Integers have a denominator of 1.r rs rrIntegral.denominatorrrr)r rrrrrrrrrNrrrrrrrrrrrrar]rrrr rrr r HsB I""""""""""""""""""""""""""  rr N)rabcrr__all__rrregisterrrrrr rr rrrs@:( ? w (n"fn"`s7sj e!;t!;HaxaF #r