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

Class Int

Lib/test/test_str.py:1621–1623  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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
1624 class Str(enum.StrEnum):
1625 # StrEnum uses the value and not the name for %s etc.
1626 ABC = 'abc'

Callers 10

test_countMethod · 0.70
fromMethod · 0.50
to_typedMethod · 0.50
from_type_and_valueMethod · 0.50
prepare_constMethod · 0.50
add_instructionMethod · 0.50
fold_exprFunction · 0.50
new_intMethod · 0.50
ast_from_objectMethod · 0.50
constant_to_ruff_exprFunction · 0.50

Calls

no outgoing calls

Tested by 1

test_countMethod · 0.56