misc package

misc.multiple_strings module

misc.multiple_strings.multiple_of(value, string_of_single, string_of_multiple, return_with_value=False, before_string='', after_string='')[source]

Helps with english. If the word has a form of multiple, you can feed it’s value and it returns you the appropriate form. (Also has some extra features, in case you have a collection of strings.)

Parameters:
  • value (bool | float | int) – Numerical value
  • string_of_single (str) – String representation of a single thing
  • string_of_multiple (str) – String representation of multiple things
  • return_with_value (bool) – Should it return with the value formatted?
  • before_string (str) – String content before
  • after_string (str) – String content after
Returns:

Complete string representation

Return type:

str

misc.warning_filter module

misc.warning_filter.ignore()[source]

Suppresses some warnings of praw.

Module contents