FireEmblemClone
latest

Contents:

  • Code
    • AutoCorrect module
    • FEH_DijkstraAlgorithm module
    • FEH_StatGrowthTesting module
    • FEH_character_search module
    • FireEmblemCombatV2 module
    • FireEmblemLoadJsonFilesBetterV2 module
    • ProcessInstructions module
    • SkillTimingContexts package
    • StatGrowth module
    • ThreadedLoad_JSON_Data module
    • scratch_6 module
    • scratch_8 module
FireEmblemClone
  • »
  • Code »
  • FEH_character_search module
  • Edit on GitHub

FEH_character_search module¶

exception FEH_character_search.AltDoesNotExistError(alt='\x08', character='\x08\x08', details='', intro='Could not find {0} {1}{2}')[source]¶

Bases: Exception

Character does not have alt of given specifications

exception FEH_character_search.DoesNotContainNameError(input_val='\x08\x08', intro='Could not find name in input: {0}')[source]¶

Bases: Exception

Argument does not contain a valid character name

exception FEH_character_search.DuplicateTermsError(duplicates, intro='Duplicate terms encountered: {0}')[source]¶

Bases: Exception

Duplicates terms encountered in input

exception FEH_character_search.InvalidTokenError(token, intro='Token {0} is not a known name, prefix, or suffix')[source]¶

Bases: Exception

Token could not be found in token list. Token is not a known name, prefix, or suffix

exception FEH_character_search.MultipleNamesError(names, intro='Encountered more than one name in input: {0}')[source]¶

Bases: Exception

Multiple names encountered in input. Only one name is accepted at a time.

exception FEH_character_search.NoSuchNameError(input_val='\x08\x08', intro='No such character exists with given name: {0}')[source]¶

Bases: Exception

No such character exists with given name

FEH_character_search.dict_kv(dictionary: dict) → list[source]¶
FEH_character_search.filter_tokens(token_string, filter_set)[source]¶
FEH_character_search.flatten(input_list)[source]¶
FEH_character_search.format_seq_to_cs_string(seq)[source]¶

Takes a sequence as an input and returns a human-readable string of its values separated by commas (includes “and” before final item if sequence contains more than 1 item)

FEH_character_search.get_character(name: str, players_data)[source]¶
FEH_character_search.invert_dict(dictionary: dict) → dict[source]¶
FEH_character_search.list_duplicates(seq)[source]¶
FEH_character_search.recursive_join(separator, *args) → str[source]¶
FEH_character_search.remove_prefix(text: str, prefixes: Iterable) → str[source]¶
FEH_character_search.remove_suffix(text: str, suffixes: Iterable) → str[source]¶
FEH_character_search.split_and_correct(name: str, parted_name_set, name_set)[source]¶
Next Previous

© Copyright 2020, Dania M. Revision 2c41dec8.

Built with Sphinx using a theme provided by Read the Docs.