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

Class String

Lib/test/test_enum.py:1989–1992  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1987 self.assertIs(Number.one._member_type_, int)
1988 self.assertIs(Number._member_type_, int)
1989 class String(str, Enum):
1990 yarn = 'soft'
1991 rope = 'rough'
1992 wire = 'hard'
1993 self.assertIs(String.yarn._member_type_, str)
1994 self.assertIs(String._member_type_, str)
1995 class Plain(Enum):

Callers 7

getPromptFunction · 0.50
from_stringMethod · 0.50
fromMethod · 0.50
process_instructionMethod · 0.50
parse_format_typeFunction · 0.50
try_from_objectMethod · 0.50

Calls

no outgoing calls

Tested by 3

fromMethod · 0.40
process_instructionMethod · 0.40