Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

When a variable is declared but unused, the compiler emits a warning:

If needed, this can be silenced by prefixing the variable’s name with an underscore (_) character as suggested by the compiler’s message. This may be useful when an implementation is not yet finalized, and we just want to avoid too much warnings. Example:

We could even replace the whole variable’s name with a single underscore character. This is particulary useful when ignoring a certain value, or the returned value of a function. Example: