text_lint.utilities.translations.f_string

text_lint.utilities.translations.f_string(string: str, *args: Any, nl: int = 0, **kwargs: Any) str[Quellcode]

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