MCPcopy Create free account
hub / github.com/geekcomputers/Python / Source

Class Source

Industrial_developed_hangman/src/hangman/main.py:18–22  ·  view source on GitHub ↗

Enum that represents switch between local and web word parsing.

Source from the content-addressed store, hash-verified

16
17
18class Source(Enum):
19 """Enum that represents switch between local and web word parsing."""
20
21 FROM_FILE = 0 # noqa: WPS115
22 FROM_INTERNET = 1 # noqa: WPS115
23
24
25def print_wrong(text: str, print_function: Callable[[str], None]) -> None:

Callers 5

test_get_wordFunction · 0.90
test_start_game_winFunction · 0.90
test_start_game_looseFunction · 0.90
test_wow_yearFunction · 0.90
main.pyFile · 0.85

Calls

no outgoing calls

Tested by 4

test_get_wordFunction · 0.72
test_start_game_winFunction · 0.72
test_start_game_looseFunction · 0.72
test_wow_yearFunction · 0.72