MCPcopy Index your code
hub / github.com/python/cpython / String

Class String

Lib/test/test_enum.py:2019–2022  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2017 self.assertIs(Number.one._member_type_, int)
2018 self.assertIs(Number._member_type_, int)
2019 class String(str, Enum):
2020 yarn = 'soft'
2021 rope = 'rough'
2022 wire = 'hard'
2023 self.assertIs(String.yarn._member_type_, str)
2024 self.assertIs(String._member_type_, str)
2025 class Plain(Enum):

Callers 1

resolveStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…