File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -484,7 +484,7 @@ Numbers
484
484
### Types
485
485
``` python
486
486
< int > = int (< float / str / bool > ) # Or: math.floor(<float>)
487
- < float > = float (< int / str / bool > ) # Or: <real>±e <int>
487
+ < float > = float (< int / str / bool > ) # Or: <real>e± <int>
488
488
< complex > = complex (real = 0 , imag = 0 ) # Or: <real> + <real>j
489
489
< Fraction> = fractions.Fraction(numerator = 0 , denominator = 1 )
490
490
< Decimal> = decimal.Decimal(< str / int / float > )
Original file line number Diff line number Diff line change 563
563
</ code > </ pre > </ div >
564
564
565
565
< div > < h2 id ="numbers "> < a href ="#numbers " name ="numbers "> #</ a > Numbers</ h2 > < div > < h3 id ="types "> Types</ h3 > < pre > < code class ="python language-python hljs "> <int> = int(<float/str/bool>) < span class ="hljs-comment "> # Or: math.floor(<float>)</ span >
566
- <float> = float(<int/str/bool>) < span class ="hljs-comment "> # Or: <real>±e <int></ span >
566
+ <float> = float(<int/str/bool>) < span class ="hljs-comment "> # Or: <real>e± <int></ span >
567
567
<complex> = complex(real=< span class ="hljs-number "> 0</ span > , imag=< span class ="hljs-number "> 0</ span > ) < span class ="hljs-comment "> # Or: <real> + <real>j</ span >
568
568
<Fraction> = fractions.Fraction(numerator=< span class ="hljs-number "> 0</ span > , denominator=< span class ="hljs-number "> 1</ span > )
569
569
<Decimal> = decimal.Decimal(<str/int/float>)
You can’t perform that action at this time.
0 commit comments