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 @@ -485,7 +485,7 @@ Numbers
485
485
``` python
486
486
< int > = int (< float / str / bool > ) # Or: math.floor(<float>)
487
487
< float > = float (< int / str / bool > ) # Or: <real>e±<int>
488
- < complex > = complex (real = 0 , imag = 0 ) # Or: <real> + <real>j
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 > )
491
491
```
Original file line number Diff line number Diff line change 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
566
<float> = float(<int/str/bool>) < span class ="hljs-comment "> # Or: <real>e±<int></ span >
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 >
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>)
570
570
</ code > </ pre > </ div > </ div >
You can’t perform that action at this time.
0 commit comments