diff options
Diffstat (limited to 'stdlib/source/lux/target/python.lux')
-rw-r--r-- | stdlib/source/lux/target/python.lux | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/lux/target/python.lux b/stdlib/source/lux/target/python.lux index 31cdd851d..ef1098095 100644 --- a/stdlib/source/lux/target/python.lux +++ b/stdlib/source/lux/target/python.lux @@ -6,7 +6,7 @@ ["s" code]]] [data [number - ["." frac]] + ["f" frac]] ["." text ["%" format (#+ format)]] [collection @@ -106,12 +106,12 @@ (def: #export float (-> Frac Literal) (`` (|>> (cond> (~~ (template [<lux> <python>] - [[(f/= <lux>)] + [[(f.= <lux>)] [(new> (format "float(" text.double-quote <python> text.double-quote ")") [])]] - [frac.positive-infinity "inf"] - [frac.negative-infinity "-inf"] - [frac.not-a-number "nan"] + [f.positive-infinity "inf"] + [f.negative-infinity "-inf"] + [f.not-a-number "nan"] )) ## else |