MCPcopy Index your code
hub / github.com/RustPython/RustPython / Float

Class Float

Lib/test/test_str.py:1618–1620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1616 # issue18780
1617 import enum
1618 class Float(float, enum.Enum):
1619 # a mixed-in type will use the name for %s etc.
1620 PI = 3.1415926
1621 class Int(enum.IntEnum):
1622 # IntEnum uses the value and not the name for %s etc.
1623 IDES = 15

Callers 12

fromMethod · 0.50
to_typedMethod · 0.50
from_type_and_valueMethod · 0.50
prepare_constMethod · 0.50
add_instructionMethod · 0.50
parse_format_typeFunction · 0.50
fold_exprFunction · 0.50
new_floatMethod · 0.50
ast_from_objectMethod · 0.50
constant_to_ruff_exprFunction · 0.50
get_jit_valueFunction · 0.50
fromMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected