warning()

This function prints its argument to stdout prefixed with WARNING:.

Signature

(since 0.44.0)

# This function prints its argument to stdout prefixed with WARNING:
void warning(
  str | int | bool | array[str | int | bool] | dict[str | int | bool] text,          # The message to print
  str | int | bool | array[str | int | bool] | dict[str | int | bool] more_text...,  # Additional text that will be printed separated by spaces
)

Arguments

Argument flattening is NOT SUPPORTED by this function.

The function warning() accepts the following positional arguments:

Name Type Description Tags
text str | int | bool | array[str | int | bool] | dict[str | int | bool]

The message to print.

Additionally, the function accepts between 0 and infinity variadic arguments (more_text...) of type str | int | bool | array[str | int | bool] | dict[str | int | bool].

Additional text that will be printed separated by spaces.

(since 0.54.0)

The results of the search are