text_lint.utilities.translations.f

text_lint.utilities.translations.f(string: str, *args: Any, nl: int = 0, **kwargs: Any) str

Format style string interpolation.

Parameter:
  • string (str) – The string to interpolate.

  • args (Any) – The positional arguments for format.

  • nl (int) – The number of newlines to add to the end of the string.

  • kwargs (Any) – The keyword arguments for format.

Rückgabe:

The interpolated string.

Rückgabetyp:

str