commit
260fbcc517
@ -80,9 +80,9 @@
|
||||
(.rstrip (repr x) "L")
|
||||
(and (in t [float HyFloat]) (isnan x))
|
||||
"NaN"
|
||||
(= x Inf)
|
||||
(and (in t [float HyFloat]) (= x Inf))
|
||||
"Inf"
|
||||
(= x -Inf)
|
||||
(and (in t [float HyFloat]) (= x -Inf))
|
||||
"-Inf"
|
||||
(in t [complex HyComplex])
|
||||
(.replace (.replace (.strip (repr x) "()") "inf" "Inf") "nan" "NaN")
|
||||
|
@ -10,7 +10,7 @@
|
||||
`(do
|
||||
(import [pycallgraph [PyCallGraph]]
|
||||
[pycallgraph.output [GraphvizOutput]])
|
||||
(with* [(PyCallGraph :output (GraphvizOutput)))]
|
||||
(with* [(PyCallGraph :output (GraphvizOutput))]
|
||||
~@body)))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user