parameters: (self, character)
return_statement: return elem
docstring: Return the indexed and post-processed string. Get the key from the correct trait in the character.
docstring_summary: Return the indexed and post-processed string. Get the key from the correct trait in the character.
docstring_tokens: Return the indexed and post - processed string . Get the key from the correct trait in the character .
function: def __call__(self, character):
          """Return the indexed and post-processed string. Get the key from the correct trait in the character."""
          trait = character.get_trait(self.trait_class)
          if trait is None and None not in self.table:
              return None
          elem = self.table[trait.key] if trait is not None else self.table[None]
          if self.post_process:
              elem = self.post_process(elem)
          debug("CharacterTable returns %s", elem)
          return elem
function_tokens: def __call__ ( self , character ) : trait = character . get_trait ( self . trait_class ) if trait is None and None not in self . table : return None elem = self . table [ trait . key ] if trait is not None else self . table [ None ] if self . post_process : elem = self . post_process ( elem ) debug ( "CharacterTable returns %s" , elem ) return elem