/snap/core22/2437/usr/lib/python3.10/__pycache__
NameSizeModeActions
abc.cpython-310.pyc67510644editdlrm
aifc.cpython-310.pyc246850644editdlrm
antigravity.cpython-310.pyc8220644editdlrm
argparse.cpython-310.pyc635390644editdlrm
ast.cpython-310.pyc557390644editdlrm
asynchat.cpython-310.pyc70250644editdlrm
asyncore.cpython-310.pyc160020644editdlrm
base64.cpython-310.pyc171620644editdlrm
bdb.cpython-310.pyc258320644editdlrm
binhex.cpython-310.pyc128700644editdlrm
bisect.cpython-310.pyc25880644editdlrm
bz2.cpython-310.pyc108700644editdlrm
calendar.cpython-310.pyc263030644editdlrm
cgi.cpython-310.pyc267230644editdlrm
cgitb.cpython-310.pyc99980644editdlrm
chunk.cpython-310.pyc48600644editdlrm
cmd.cpython-310.pyc127070644editdlrm
code.cpython-310.pyc99570644editdlrm
codecs.cpython-310.pyc332190644editdlrm
codeop.cpython-310.pyc55950644editdlrm
colorsys.cpython-310.pyc32650644editdlrm
compileall.cpython-310.pyc127330644editdlrm
configparser.cpython-310.pyc454580644editdlrm
contextlib.cpython-310.pyc208950644editdlrm
contextvars.cpython-310.pyc2460644editdlrm
copy.cpython-310.pyc69960644editdlrm
copyreg.cpython-310.pyc46830644editdlrm
cProfile.cpython-310.pyc51130644editdlrm
crypt.cpython-310.pyc35500644editdlrm
csv.cpython-310.pyc117980644editdlrm
dataclasses.cpython-310.pyc265780644editdlrm
datetime.cpython-310.pyc565330644editdlrm
decimal.cpython-310.pyc3620644editdlrm
difflib.cpython-310.pyc589050644editdlrm
dis.cpython-310.pyc156560644editdlrm
doctest.cpython-310.pyc761750644editdlrm
enum.cpython-310.pyc260630644editdlrm
filecmp.cpython-310.pyc87490644editdlrm
fileinput.cpython-310.pyc140720644editdlrm
fnmatch.cpython-310.pyc42440644editdlrm
fractions.cpython-310.pyc186000644editdlrm
ftplib.cpython-310.pyc289770644editdlrm
functools.cpython-310.pyc283350644editdlrm
genericpath.cpython-310.pyc39070644editdlrm
getopt.cpython-310.pyc63390644editdlrm
getpass.cpython-310.pyc42100644editdlrm
gettext.cpython-310.pyc182210644editdlrm
glob.cpython-310.pyc58520644editdlrm
graphlib.cpython-310.pyc76160644editdlrm
gzip.cpython-310.pyc185460644editdlrm
hashlib.cpython-310.pyc68450644editdlrm
heapq.cpython-310.pyc138650644editdlrm
hmac.cpython-310.pyc69730644editdlrm
imaplib.cpython-310.pyc423120644editdlrm
imghdr.cpython-310.pyc39050644editdlrm
imp.cpython-310.pyc97860644editdlrm
inspect.cpython-310.pyc851530644editdlrm
io.cpython-310.pyc36630644editdlrm
ipaddress.cpython-310.pyc626700644editdlrm
keyword.cpython-310.pyc9270644editdlrm
linecache.cpython-310.pyc41420644editdlrm
locale.cpython-310.pyc461540644editdlrm
lzma.cpython-310.pyc121000644editdlrm
mailbox.cpython-310.pyc600910644editdlrm
mailcap.cpython-310.pyc73200644editdlrm
mimetypes.cpython-310.pyc176190644editdlrm
modulefinder.cpython-310.pyc161660644editdlrm
netrc.cpython-310.pyc39330644editdlrm
nntplib.cpython-310.pyc316230644editdlrm
ntpath.cpython-310.pyc147040644editdlrm
nturl2path.cpython-310.pyc17470644editdlrm
numbers.cpython-310.pyc118660644editdlrm
opcode.cpython-310.pyc54470644editdlrm
operator.cpython-310.pyc135080644editdlrm
optparse.cpython-310.pyc477540644editdlrm
os.cpython-310.pyc315990644editdlrm
pathlib.cpython-310.pyc420520644editdlrm
pdb.cpython-310.pyc474400644editdlrm
pickle.cpython-310.pyc468820644editdlrm
pickletools.cpython-310.pyc677600644editdlrm
pipes.cpython-310.pyc77690644editdlrm
pkgutil.cpython-310.pyc183610644editdlrm
platform.cpython-310.pyc274290644editdlrm
plistlib.cpython-310.pyc237650644editdlrm
poplib.cpython-310.pyc135730644editdlrm
posixpath.cpython-310.pyc105600644editdlrm
pprint.cpython-310.pyc178750644editdlrm
profile.cpython-310.pyc143910644editdlrm
pstats.cpython-310.pyc236210644editdlrm
pty.cpython-310.pyc41430644editdlrm
pyclbr.cpython-310.pyc97750644editdlrm
pydoc.cpython-310.pyc856450644editdlrm
py_compile.cpython-310.pyc73390644editdlrm
queue.cpython-310.pyc107920644editdlrm
quopri.cpython-310.pyc57940644editdlrm
random.cpython-310.pyc227480644editdlrm
re.cpython-310.pyc142270644editdlrm
reprlib.cpython-310.pyc52500644editdlrm
rlcompleter.cpython-310.pyc59540644editdlrm
runpy.cpython-310.pyc94110644editdlrm
sched.cpython-310.pyc61150644editdlrm
secrets.cpython-310.pyc21750644editdlrm
selectors.cpython-310.pyc171050644editdlrm
shelve.cpython-310.pyc94920644editdlrm
shlex.cpython-310.pyc77820644editdlrm
shutil.cpython-310.pyc385360644editdlrm
signal.cpython-310.pyc29350644editdlrm
site.cpython-310.pyc179220644editdlrm
sitecustomize.cpython-310.pyc2250644editdlrm
smtpd.cpython-310.pyc261470644editdlrm
smtplib.cpython-310.pyc357660644editdlrm
sndhdr.cpython-310.pyc69620644editdlrm
socket.cpython-310.pyc289630644editdlrm
socketserver.cpython-310.pyc253470644editdlrm
sre_compile.cpython-310.pyc151940644editdlrm
sre_constants.cpython-310.pyc63570644editdlrm
sre_parse.cpython-310.pyc217550644editdlrm
ssl.cpython-310.pyc452710644editdlrm
stat.cpython-310.pyc42730644editdlrm
statistics.cpython-310.pyc370510644editdlrm
string.cpython-310.pyc71020644editdlrm
stringprep.cpython-310.pyc170750644editdlrm
struct.cpython-310.pyc3070644editdlrm
subprocess.cpython-310.pyc447410644editdlrm
sunau.cpython-310.pyc164820644editdlrm
symtable.cpython-310.pyc128350644editdlrm
sysconfig.cpython-310.pyc181510644editdlrm
tabnanny.cpython-310.pyc69500644editdlrm
tarfile.cpython-310.pyc706740644editdlrm
telnetlib.cpython-310.pyc185060644editdlrm
tempfile.cpython-310.pyc273390644editdlrm
textwrap.cpython-310.pyc138120644editdlrm
this.cpython-310.pyc12640644editdlrm
threading.cpython-310.pyc449690644editdlrm
timeit.cpython-310.pyc117690644editdlrm
token.cpython-310.pyc27380644editdlrm
tokenize.cpython-310.pyc171940644editdlrm
trace.cpython-310.pyc198700644editdlrm
traceback.cpython-310.pyc217120644editdlrm
tracemalloc.cpython-310.pyc175250644editdlrm
tty.cpython-310.pyc10790644editdlrm
turtle.cpython-310.pyc1288570644editdlrm
types.cpython-310.pyc95250644editdlrm
typing.cpython-310.pyc852770644editdlrm
uu.cpython-310.pyc38670644editdlrm
uuid.cpython-310.pyc224980644editdlrm
warnings.cpython-310.pyc136460644editdlrm
wave.cpython-310.pyc175940644editdlrm
weakref.cpython-310.pyc203430644editdlrm
webbrowser.cpython-310.pyc170000644editdlrm
xdrlib.cpython-310.pyc78800644editdlrm
zipapp.cpython-310.pyc60130644editdlrm
zipfile.cpython-310.pyc618450644editdlrm
zipimport.cpython-310.pyc170330644editdlrm
_aix_support.cpython-310.pyc28790644editdlrm
_bootsubprocess.cpython-310.pyc22940644editdlrm
_collections_abc.cpython-310.pyc329250644editdlrm
_compat_pickle.cpython-310.pyc58720644editdlrm
_compression.cpython-310.pyc45120644editdlrm
_distutils_system_mod.cpython-310.pyc54220644editdlrm
_markupbase.cpython-310.pyc75720644editdlrm
_osx_support.cpython-310.pyc115350644editdlrm
_pydecimal.cpython-310.pyc1577360644editdlrm
_pyio.cpython-310.pyc736540644editdlrm
_py_abc.cpython-310.pyc46830644editdlrm
_sitebuiltins.cpython-310.pyc35470644editdlrm
_strptime.cpython-310.pyc159450644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-310.pyc353850644editdlrm
_sysconfigdata__x86_64-linux-gnu.cpython-310.pyc353790644editdlrm
_threading_local.cpython-310.pyc65390644editdlrm
_weakrefset.cpython-310.pyc76080644editdlrm
__future__.cpython-310.pyc41310644editdlrm
__phello__.foo.cpython-310.pyc1300644editdlrm
Edit: /snap/core22/2437/usr/lib/python3.10/__pycache__/numbers.cpython-310.pyc (11866B)
o p̦il(@sdZddlmZmZgdZGdddedZGdddeZeeGd d d eZ e e Gd d d e Z Gd dde Z e e dS)z~Abstract Base Classes (ABCs) for numbers, according to PEP 3141. TODO: Fill out more detailed documentation on the operators.)ABCMetaabstractmethod)NumberComplexRealRationalIntegralc@seZdZdZdZdZdS)rzAll 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 r /usr/lib/python3.10/numbers.pyr sr) metaclassc@seZdZdZdZeddZddZeeddZ eed d Z ed d Z ed dZ eddZ eddZddZddZeddZeddZeddZeddZedd Zed!d"Zed#d$Zed%d&Zed'd(Zd)S)*rafComplex 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 cCdS)zrz Complex.imagcCr)z self + otherrrotherr r r__add__GzComplex.__add__cCr)z other + selfrrr r r__radd__Lr!zComplex.__radd__cCr)z-selfrrr r r__neg__Qr!zComplex.__neg__cCr)z+selfrrr r r__pos__Vr!zComplex.__pos__cCs || S)z self - otherr rr r r__sub__[ zComplex.__sub__cCs | |S)z other - selfr rr r r__rsub___r&zComplex.__rsub__cCr)z self * otherrrr r r__mul__cr!zComplex.__mul__cCr)z other * selfrrr r r__rmul__hr!zComplex.__rmul__cCr)z5self / other: Should promote to float when necessary.rrr r r __truediv__mr!zComplex.__truediv__cCr)z other / selfrrr r r __rtruediv__rr!zComplex.__rtruediv__cCr)zBself**exponent; should promote to float or complex when necessary.r)rexponentr r r__pow__wr!zComplex.__pow__cCr)z base ** selfr)rbaser r r__rpow__|r!zComplex.__rpow__cCr)z7Returns the Real distance from 0. Called for abs(self).rrr r r__abs__r!zComplex.__abs__cCr)z$(x+y*i).conjugate() returns (x-y*i).rrr r r conjugater!zComplex.conjugatecCr)z self == otherrrr r r__eq__r!zComplex.__eq__N)r r r r rrrrpropertyrrr r"r#r$r%r'r(r)r*r+r-r/r0r1r2r r r rr sP                rc@seZdZdZdZeddZeddZeddZed d Z ed&d d Z ddZ ddZ eddZ eddZeddZeddZeddZeddZddZed d!Zed"d#Zd$d%Zd S)'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 cCr)zTAny Real can be converted to a native float object. Called for float(self).rrr r r __float__zReal.__float__cCr)aGtrunc(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". rrr r r __trunc__s zReal.__trunc__cCr)z$Finds the greatest Integral <= self.rrr r r __floor__r!zReal.__floor__cCr)z!Finds the least Integral >= self.rrr r r__ceil__r!z Real.__ceil__NcCr)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)rndigitsr r r __round__rzReal.__round__cCs||||fS)zdivmod(self, other): The pair (self // other, self % other). Sometimes this can be computed faster than the pair of operations. r rr r r __divmod__zReal.__divmod__cCs||||fS)zdivmod(other, self): The pair (self // other, self % other). Sometimes this can be computed faster than the pair of operations. r rr r r __rdivmod__r<zReal.__rdivmod__cCr)z)self // other: The floor() of self/other.rrr r r __floordiv__r!zReal.__floordiv__cCr)z)other // self: The floor() of other/self.rrr r r __rfloordiv__r!zReal.__rfloordiv__cCr)z self % otherrrr r r__mod__r!z Real.__mod__cCr)z other % selfrrr r r__rmod__r!z Real.__rmod__cCr)zRself < other < on Reals defines a total ordering, except perhaps for NaN.rrr r r__lt__r5z Real.__lt__cCr)z self <= otherrrr r r__le__r!z Real.__le__cC tt|S)z(complex(self) == complex(float(self), 0))complexfloatrr r rr zReal.__complex__cC| S)z&Real numbers are their real component.r rr r rrz Real.realcCr)z)Real numbers have no imaginary component.rr rr r rrr!z Real.imagcCrH)zConjugate is a no-op for Reals.r rr r rr1szReal.conjugateN)r r r r rrr4r6r7r8r:r;r=r>r?r@rArBrCrr3rrr1r r r rrsB              rc@s<eZdZdZdZeeddZeeddZddZ d S) rz6.numerator and .denominator should be in lowest terms.r cCrrJrrr r r numeratorr!zRational.numeratorcCrrJrrr r r denominatorr!zRational.denominatorcCst|jt|jS)a float(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. )intrKrLrr r rr4szRational.__float__N) r r r r rr3rrKrLr4r r r rr s   rc@seZdZdZdZeddZddZed&dd Zed d Z ed d Z eddZ eddZ eddZ eddZeddZeddZeddZeddZeddZd d!Zed"d#Zed$d%ZdS)'rzIntegral adds methods that work on integral numbers. In short, these are conversion to int, pow with modulus, and the bit-string operations. r cCr)z int(self)rrr r r__int__/r!zIntegral.__int__cCst|S)z6Called whenever an index is needed, such as in slicing)rMrr r r __index__4rzIntegral.__index__NcCr)a4self ** 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)rr,modulusr r rr-8s zIntegral.__pow__cCr)z self << otherrrr r r __lshift__Cr!zIntegral.__lshift__cCr)z other << selfrrr r r __rlshift__Hr!zIntegral.__rlshift__cCr)z self >> otherrrr r r __rshift__Mr!zIntegral.__rshift__cCr)z other >> selfrrr r r __rrshift__Rr!zIntegral.__rrshift__cCr)z self & otherrrr r r__and__Wr!zIntegral.__and__cCr)z other & selfrrr r r__rand__\r!zIntegral.__rand__cCr)z self ^ otherrrr r r__xor__ar!zIntegral.__xor__cCr)z other ^ selfrrr r r__rxor__fr!zIntegral.__rxor__cCr)z self | otherrrr r r__or__kr!zIntegral.__or__cCr)z other | selfrrr r r__ror__pr!zIntegral.__ror__cCr)z~selfrrr r r __invert__ur!zIntegral.__invert__cCrD)zfloat(self) == float(int(self)))rFrMrr r rr4{rGzIntegral.__float__cCrH)z"Integers are their own numerators.r rr r rrKrIzIntegral.numeratorcCr)z!Integers have a denominator of 1.r rr r rrLr!zIntegral.denominatorrJ)r r r r rrrNrOr-rQrRrSrTrUrVrWrXrYrZr[r4r3rKrLr r r rr&sF              rN)r abcrr__all__rrregisterrErrFrrrMr r r rs p uc